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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_service.cc

Issue 12448: Turn on the new SafeBrowsing by default (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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/safe_browsing/safe_browsing_database_unittest.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/safe_browsing_service.cc
===================================================================
--- chrome/browser/safe_browsing/safe_browsing_service.cc (revision 5990)
+++ chrome/browser/safe_browsing/safe_browsing_service.cc (working copy)
@@ -33,7 +33,7 @@
enabled_(false),
resetting_(false),
database_loaded_(false) {
- new_safe_browsing_ = CommandLine().HasSwitch(switches::kUseNewSafeBrowsing);
+ new_safe_browsing_ = !CommandLine().HasSwitch(switches::kUseOldSafeBrowsing);
}
SafeBrowsingService::~SafeBrowsingService() {
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_database_unittest.cc ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698