Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Side by Side Diff: chrome/browser/chrome_elf_init_win.h

Issue 311893005: Can now adjust the number of retries before the blacklist is disabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Corrected code so that it actually works as intended. Updated unit tests. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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>
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
12 // Prepare any initialization code for Chrome Elf's setup (This will generally 14 // 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). 15 // only affect future runs since Chrome Elf is already setup by this point).
14 void InitializeChromeElf(); 16 void InitializeChromeElf();
15 17
18 // Helper function to grab from registry the number of times the startup has
csharp 2014/06/10 14:07:02 This function doesn't seem to exist anymore
krstnmnlsn 2014/06/10 22:03:26 Done.
19 // failed before the blacklist was fully initialized. Will initialize the
20 // registry value to zero if unfound.
21 void GetBlacklistFailedCount(DWORD* failed_count);
22
16 // Set the required state for an enabled browser blacklist. 23 // Set the required state for an enabled browser blacklist.
17 void BrowserBlacklistBeaconSetup(); 24 void BrowserBlacklistBeaconSetup();
18 25
19 #endif // CHROME_BROWSER_CHROME_ELF_INIT_WIN_H_ 26 #endif // CHROME_BROWSER_CHROME_ELF_INIT_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698