Chromium Code Reviews| 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 "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 <>
| |
| 9 | |
| 8 // Field trial name and full name for the blacklist disabled group. | 10 // Field trial name and full name for the blacklist disabled group. |
| 9 extern const char kBrowserBlacklistTrialName[]; | 11 extern const char kBrowserBlacklistTrialName[]; |
| 10 extern const char kBrowserBlacklistTrialDisabledGroupName[]; | 12 extern const char kBrowserBlacklistTrialDisabledGroupName[]; |
| 11 | 13 |
| 14 // The number of failures that can occur on startup with the beacon enabled | |
| 15 // before we give up and turn off the blacklist. | |
| 16 extern const DWORD kBeaconAttempts; | |
| 17 | |
| 12 // Prepare any initialization code for Chrome Elf's setup (This will generally | 18 // 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). | 19 // only affect future runs since Chrome Elf is already setup by this point). |
| 14 void InitializeChromeElf(); | 20 void InitializeChromeElf(); |
| 15 | 21 |
| 22 // Helper function to grab from registry the number of times the startup has | |
| 23 // failed before the blacklist was fully initialized. Will initialize the | |
| 24 // registry value to zero if unfound. | |
| 25 void GetBlacklistFailedCount(DWORD* failed_count); | |
| 26 | |
| 16 // Set the required state for an enabled browser blacklist. | 27 // Set the required state for an enabled browser blacklist. |
| 17 void BrowserBlacklistBeaconSetup(); | 28 void BrowserBlacklistBeaconSetup(); |
| 18 | 29 |
| 19 #endif // CHROME_BROWSER_CHROME_ELF_INIT_WIN_H_ | 30 #endif // CHROME_BROWSER_CHROME_ELF_INIT_WIN_H_ |
| OLD | NEW |