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

Unified Diff: chrome/browser/protector/protector_utils.cc

Issue 10298012: [protector] Disable the UI by default, flip --no-protector to --protector. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 | « chrome/browser/protector/protector_service_browsertest.cc ('k') | chrome/browser/ui/browser_init.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/protector/protector_utils.cc
diff --git a/chrome/browser/protector/protector_utils.cc b/chrome/browser/protector/protector_utils.cc
index c8ffe61e79ecc10f90a24976f111350c70f03e09..80adc399f241028c9854ecfbaba09fda7ccd4efa 100644
--- a/chrome/browser/protector/protector_utils.cc
+++ b/chrome/browser/protector/protector_utils.cc
@@ -41,7 +41,7 @@ bool IsSettingValid(const std::string& value, const std::string& signature) {
}
bool IsEnabled() {
- return !CommandLine::ForCurrentProcess()->HasSwitch(switches::kNoProtector);
+ return CommandLine::ForCurrentProcess()->HasSwitch(switches::kProtector);
}
} // namespace protector
« no previous file with comments | « chrome/browser/protector/protector_service_browsertest.cc ('k') | chrome/browser/ui/browser_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698