summaryrefslogtreecommitdiffstats
path: root/chrome/browser/safe_browsing/safe_browsing_service.cc
diff options
context:
space:
mode:
authorpaulg@google.com <paulg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-26 00:18:27 +0000
committerpaulg@google.com <paulg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-26 00:18:27 +0000
commit7ab49572bb55d092e757dc04a0c8ecafaf893e16 (patch)
tree95c318fd8dcb0c7befbbc849bd91c4ef2a1bd87e /chrome/browser/safe_browsing/safe_browsing_service.cc
parent6705b23f96dc6953abe9911907a8d25d924e5e7f (diff)
downloadchromium_src-7ab49572bb55d092e757dc04a0c8ecafaf893e16.zip
chromium_src-7ab49572bb55d092e757dc04a0c8ecafaf893e16.tar.gz
chromium_src-7ab49572bb55d092e757dc04a0c8ecafaf893e16.tar.bz2
Turn on the new SafeBrowsing by default. To use the older
implemenation, use the command line flag: --old-safe-browsing Review URL: http://codereview.chromium.org/12448 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6015 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/safe_browsing/safe_browsing_service.cc')
-rw-r--r--chrome/browser/safe_browsing/safe_browsing_service.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/safe_browsing/safe_browsing_service.cc b/chrome/browser/safe_browsing/safe_browsing_service.cc
index ad0b1f5..3a6fff3 100644
--- a/chrome/browser/safe_browsing/safe_browsing_service.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_service.cc
@@ -33,7 +33,7 @@ SafeBrowsingService::SafeBrowsingService()
enabled_(false),
resetting_(false),
database_loaded_(false) {
- new_safe_browsing_ = CommandLine().HasSwitch(switches::kUseNewSafeBrowsing);
+ new_safe_browsing_ = !CommandLine().HasSwitch(switches::kUseOldSafeBrowsing);
}
SafeBrowsingService::~SafeBrowsingService() {