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

Unified Diff: chrome_elf/blacklist/blacklist.h

Issue 140763008: Add a UMA stat to track if the Browser blacklist is Set on the Renderer (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome_elf/blacklist/blacklist.cc » ('j') | chrome_elf/blacklist/blacklist.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome_elf/blacklist/blacklist.h
diff --git a/chrome_elf/blacklist/blacklist.h b/chrome_elf/blacklist/blacklist.h
index 17a511d487712c2d3259a16aa66abe37f2214d82..1426ae77176dab35fae69b5d3ac2bc56c9fdbbf1 100644
--- a/chrome_elf/blacklist/blacklist.h
+++ b/chrome_elf/blacklist/blacklist.h
@@ -20,6 +20,12 @@ extern const wchar_t kRegistryBeaconPath[];
extern const wchar_t kBeaconVersion[];
extern const wchar_t kBeaconState[];
+// Record if the blacklist was patched in so processes can easily determine
robertshield 2014/02/06 18:55:23 s/patched in/successfully initialized/
csharp 2014/02/06 20:03:58 Done.
+// if the blacklist is enabled for them.
+// TODO(csharp): Remove once we are sure the blacklist is only patching the
+// browser process.
+extern bool blacklist_patched;
+
// The states for the blacklist setup code.
enum BlacklistState {
BLACKLIST_DISABLED = 0,
« no previous file with comments | « no previous file | chrome_elf/blacklist/blacklist.cc » ('j') | chrome_elf/blacklist/blacklist.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698