Chromium Code Reviews| Index: chrome/browser/chrome_elf_init_win.h |
| diff --git a/chrome/browser/chrome_elf_init_win.h b/chrome/browser/chrome_elf_init_win.h |
| index d8787099a42b18125afaf2dd7f58bc914a81883e..3fd28bc74cbd35ccf491fc8be13bedf090093c2c 100644 |
| --- a/chrome/browser/chrome_elf_init_win.h |
| +++ b/chrome/browser/chrome_elf_init_win.h |
| @@ -5,14 +5,25 @@ |
| #ifndef CHROME_BROWSER_CHROME_ELF_INIT_WIN_H_ |
| #define CHROME_BROWSER_CHROME_ELF_INIT_WIN_H_ |
| +#include "windows.h" |
|
csharp
2014/06/05 14:55:01
Looking at code search, I think this should be "#i
krstnmnlsn
2014/06/09 20:20:47
The one example I can find in the style guide uses
robertshield
2014/06/09 20:24:29
Yes, please. All system headers use <>
|
| + |
| // Field trial name and full name for the blacklist disabled group. |
| extern const char kBrowserBlacklistTrialName[]; |
| extern const char kBrowserBlacklistTrialDisabledGroupName[]; |
| +// The number of failures that can occur on startup with the beacon enabled |
| +// before we give up and turn off the blacklist. |
| +extern const DWORD kBeaconAttempts; |
| + |
| // 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(); |
| +// Helper function to grab from registry the number of times the startup has |
| +// failed before the blacklist was fully initialized. Will initialize the |
| +// registry value to zero if unfound. |
| +void GetBlacklistFailedCount(DWORD* failed_count); |
| + |
| // Set the required state for an enabled browser blacklist. |
| void BrowserBlacklistBeaconSetup(); |