summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chrome_elf_init_win.h
blob: ade729a12d9f34df79790ff61435e6bf7f5d5273 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_CHROME_ELF_INIT_WIN_H_
#define CHROME_BROWSER_CHROME_ELF_INIT_WIN_H_

#include <vector>

#include "base/strings/string16.h"

// Field trial name and full name for the blacklist disabled group.
extern const char kBrowserBlacklistTrialName[];
extern const char kBrowserBlacklistTrialDisabledGroupName[];

// Prepare any initialization code for Chrome Elf's setup (This will generally
// only affect future runs since Chrome Elf is already setup by this point).
void InitializeChromeElf();

// Add the blacklist from the finch configs in the registry.
void AddFinchBlacklistToRegistry();

// Set the required state for an enabled browser blacklist.
void BrowserBlacklistBeaconSetup();

// Retrieves the set of blacklisted modules that are loaded in the process.
// Returns true if successful, false otherwise.
bool GetLoadedBlacklistedModules(std::vector<base::string16>* module_names);

#endif  // CHROME_BROWSER_CHROME_ELF_INIT_WIN_H_