Commit 866570c4 authored by avayvod@chromium.org's avatar avayvod@chromium.org

Enable protector by default

R=ivankr@chromium.org
BUG=102765
TEST=Check that Protector is enabled by default.

Review URL: http://codereview.chromium.org/8632014

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111227 0039d316-1c4b-4281-b951-d872f2087c98
parent 1ff90a80
......@@ -537,7 +537,7 @@ void TemplateURLService::OnWebDataServiceRequestDone(
*result,
template_urls,
&backup_default_search_provider) &&
CommandLine::ForCurrentProcess()->HasSwitch(switches::kProtector) &&
!CommandLine::ForCurrentProcess()->HasSwitch(switches::kNoProtector) &&
default_search_provider) {
// TODO: need to handle no default_search_provider better. Likely need to
// make sure the default search engine is there, and if not assume it was
......
......@@ -923,8 +923,8 @@ const char kProfilingFlush[] = "profiling-flush";
// Specifies a custom URL for fetching NTP promo data.
const char kPromoServerURL[] = "promo-server-url";
// Enables the protector.
const char kProtector[] = "protector";
// Disables the protector.
const char kNoProtector[] = "no-protector";
// Forces proxy auto-detection.
const char kProxyAutoDetect[] = "proxy-auto-detect";
......
......@@ -253,7 +253,7 @@ extern const char kProfilingAtStart[];
extern const char kProfilingFile[];
extern const char kProfilingFlush[];
extern const char kPromoServerURL[];
extern const char kProtector[];
extern const char kNoProtector[];
extern const char kProxyAutoDetect[];
extern const char kProxyBypassList[];
extern const char kProxyPacUrl[];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment