| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROME_ELF_INIT_WIN_H_ | 5 #ifndef CHROME_BROWSER_CHROME_ELF_INIT_WIN_H_ |
| 6 #define CHROME_BROWSER_CHROME_ELF_INIT_WIN_H_ | 6 #define CHROME_BROWSER_CHROME_ELF_INIT_WIN_H_ |
| 7 | 7 |
| 8 #include <vector> |
| 9 |
| 10 #include "base/strings/string16.h" |
| 11 |
| 8 // Field trial name and full name for the blacklist disabled group. | 12 // Field trial name and full name for the blacklist disabled group. |
| 9 extern const char kBrowserBlacklistTrialName[]; | 13 extern const char kBrowserBlacklistTrialName[]; |
| 10 extern const char kBrowserBlacklistTrialDisabledGroupName[]; | 14 extern const char kBrowserBlacklistTrialDisabledGroupName[]; |
| 11 | 15 |
| 12 // Prepare any initialization code for Chrome Elf's setup (This will generally | 16 // Prepare any initialization code for Chrome Elf's setup (This will generally |
| 13 // only affect future runs since Chrome Elf is already setup by this point). | 17 // only affect future runs since Chrome Elf is already setup by this point). |
| 14 void InitializeChromeElf(); | 18 void InitializeChromeElf(); |
| 15 | 19 |
| 16 // Add the blacklist from the finch configs in the registry. | 20 // Add the blacklist from the finch configs in the registry. |
| 17 void AddFinchBlacklistToRegistry(); | 21 void AddFinchBlacklistToRegistry(); |
| 18 | 22 |
| 19 // Set the required state for an enabled browser blacklist. | 23 // Set the required state for an enabled browser blacklist. |
| 20 void BrowserBlacklistBeaconSetup(); | 24 void BrowserBlacklistBeaconSetup(); |
| 21 | 25 |
| 26 // Retrieves the set of blacklisted modules that are loaded in the process. |
| 27 // Returns true if successful, false otherwise. |
| 28 bool GetLoadedBlacklistedModules(std::vector<base::string16>* module_names); |
| 29 |
| 22 #endif // CHROME_BROWSER_CHROME_ELF_INIT_WIN_H_ | 30 #endif // CHROME_BROWSER_CHROME_ELF_INIT_WIN_H_ |
| OLD | NEW |