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

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

Issue 8349018: Safe-browsing SBAddPrefix from vector to deque. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years, 2 months 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_store_unittest_helper.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_store_unittest_helper.cc b/chrome/browser/safe_browsing/safe_browsing_store_unittest_helper.cc
index b88efe7eb57f0dcb18fcbb9c3c6ab42c60a94838..37678e3ac74eedb8980e84fc309209fdc3e2e4cf 100644
--- a/chrome/browser/safe_browsing/safe_browsing_store_unittest_helper.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_store_unittest_helper.cc
@@ -45,7 +45,7 @@ void SafeBrowsingStoreTestEmpty(SafeBrowsingStore* store) {
std::vector<SBAddFullHash> pending_adds;
std::set<SBPrefix> prefix_misses;
- std::vector<SBAddPrefix> add_prefixes_result;
+ SBAddPrefixContainer add_prefixes_result;
std::vector<SBAddFullHash> add_full_hashes_result;
EXPECT_TRUE(store->FinishUpdate(pending_adds,
@@ -90,7 +90,7 @@ void SafeBrowsingStoreTestStorePrefix(SafeBrowsingStore* store) {
std::vector<SBAddFullHash> pending_adds;
std::set<SBPrefix> prefix_misses;
- std::vector<SBAddPrefix> add_prefixes_result;
+ SBAddPrefixContainer add_prefixes_result;
std::vector<SBAddFullHash> add_full_hashes_result;
EXPECT_TRUE(store->FinishUpdate(pending_adds,
@@ -163,7 +163,7 @@ void SafeBrowsingStoreTestSubKnockout(SafeBrowsingStore* store) {
std::vector<SBAddFullHash> pending_adds;
std::set<SBPrefix> prefix_misses;
- std::vector<SBAddPrefix> add_prefixes_result;
+ SBAddPrefixContainer add_prefixes_result;
std::vector<SBAddFullHash> add_full_hashes_result;
EXPECT_TRUE(store->FinishUpdate(pending_adds,
@@ -267,7 +267,7 @@ void SafeBrowsingStoreTestDeleteChunks(SafeBrowsingStore* store) {
std::vector<SBAddFullHash> pending_adds;
std::set<SBPrefix> prefix_misses;
- std::vector<SBAddPrefix> add_prefixes_result;
+ SBAddPrefixContainer add_prefixes_result;
std::vector<SBAddFullHash> add_full_hashes_result;
EXPECT_TRUE(store->FinishUpdate(pending_adds,
@@ -337,7 +337,7 @@ void SafeBrowsingStoreTestDelete(SafeBrowsingStore* store,
std::vector<SBAddFullHash> pending_adds;
std::set<SBPrefix> prefix_misses;
- std::vector<SBAddPrefix> add_prefixes_result;
+ SBAddPrefixContainer add_prefixes_result;
std::vector<SBAddFullHash> add_full_hashes_result;
EXPECT_TRUE(store->FinishUpdate(pending_adds,

Powered by Google App Engine
This is Rietveld 408576698