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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_database.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 | « no previous file | chrome/browser/safe_browsing/safe_browsing_database_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/safe_browsing/safe_browsing_database.cc
===================================================================
--- chrome/browser/safe_browsing/safe_browsing_database.cc (revision 5990)
+++ chrome/browser/safe_browsing/safe_browsing_database.cc (working copy)
@@ -20,9 +20,9 @@
// Factory method.
SafeBrowsingDatabase* SafeBrowsingDatabase::Create() {
- if (CommandLine().HasSwitch(switches::kUseNewSafeBrowsing))
- return new SafeBrowsingDatabaseBloom;
- return new SafeBrowsingDatabaseImpl;
+ if (CommandLine().HasSwitch(switches::kUseOldSafeBrowsing))
+ return new SafeBrowsingDatabaseImpl;
+ return new SafeBrowsingDatabaseBloom;
}
bool SafeBrowsingDatabase::NeedToCheckUrl(const GURL& url) {
« no previous file with comments | « no previous file | chrome/browser/safe_browsing/safe_browsing_database_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698