diff options
author | scr@chromium.org <scr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-05 20:36:43 +0000 |
---|---|---|
committer | scr@chromium.org <scr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-05 20:36:43 +0000 |
commit | cdc18419525f8691d041f0a83bb59f8d70b82ecf (patch) | |
tree | f54203cd7ee403b490f6e8892b2f79ff3ea706f3 /chrome/browser/search_engines/template_url_service.cc | |
parent | e101217fb8adc0502d8b53922286d1ebf45b6a5e (diff) | |
download | chromium_src-cdc18419525f8691d041f0a83bb59f8d70b82ecf.zip chromium_src-cdc18419525f8691d041f0a83bb59f8d70b82ecf.tar.gz chromium_src-cdc18419525f8691d041f0a83bb59f8d70b82ecf.tar.bz2 |
Disable the Protector feature.
R=sky@chromium.org
BUG=109229
TEST=
Review URL: http://codereview.chromium.org/9109005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116539 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/search_engines/template_url_service.cc')
-rw-r--r-- | chrome/browser/search_engines/template_url_service.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/search_engines/template_url_service.cc b/chrome/browser/search_engines/template_url_service.cc index 7585494..103f438 100644 --- a/chrome/browser/search_engines/template_url_service.cc +++ b/chrome/browser/search_engines/template_url_service.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -623,7 +623,7 @@ void TemplateURLService::OnWebDataServiceRequestDone( // check at the beginning (overridden by Sync). if (is_default_search_hijacked && default_search_provider_ == hijacked_default_search_provider) { - if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kNoProtector)) { + if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kUseProtector)) { // Protector is turned off: set the current default search to itself // to update the backup and sign it. Otherwise, change will be reported // every time when keywords are loaded until a search provider is added. |