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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_database_unittest.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
Index: chrome/browser/safe_browsing/safe_browsing_database_unittest.cc
===================================================================
--- chrome/browser/safe_browsing/safe_browsing_database_unittest.cc (revision 5990)
+++ chrome/browser/safe_browsing/safe_browsing_database_unittest.cc (working copy)
@@ -368,7 +368,7 @@
chunks = new std::deque<SBChunk>;
chunks->push_back(chunk);
database->UpdateStarted();
- GetListsInfo(database, &lists);
+ database->GetListsInfo(&lists);
database->InsertChunks(safe_browsing_util::kMalwareList, chunks);
database->UpdateFinished(true);
lists.clear();
@@ -906,7 +906,7 @@
// Test receiving a full add chunk. The old implementation doesn't support
// this test, so we bail here.
- if (!CommandLine().HasSwitch(switches::kUseNewSafeBrowsing)) {
+ if (CommandLine().HasSwitch(switches::kUseOldSafeBrowsing)) {
TearDownTestDatabase(database);
return;
}
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_database.cc ('k') | chrome/browser/safe_browsing/safe_browsing_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698