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

Unified Diff: net/disk_cache/backend_unittest.cc

Issue 1105623002: Use of base::StringPairs appropriately in backend_unittest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: included the required header file. Created 5 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/backend_unittest.cc
diff --git a/net/disk_cache/backend_unittest.cc b/net/disk_cache/backend_unittest.cc
index 8755eef485cbbb395e21cca20007a4ec0b0a7cf9..ba8d101c32ef870b7e173694107465d6ab1a56c7 100644
--- a/net/disk_cache/backend_unittest.cc
+++ b/net/disk_cache/backend_unittest.cc
@@ -7,6 +7,7 @@
#include "base/metrics/field_trial.h"
#include "base/port.h"
#include "base/run_loop.h"
+#include "base/strings/string_split.h"
#include "base/strings/string_util.h"
#include "base/strings/stringprintf.h"
#include "base/test/mock_entropy_provider.h"
@@ -2750,7 +2751,7 @@ void DiskCacheBackendTest::BackendDisabledAPI() {
iter = CreateIterator();
EXPECT_NE(net::OK, iter->OpenNextEntry(&entry2));
- std::vector<std::pair<std::string, std::string>> stats;
+ base::StringPairs stats;
cache_->GetStats(&stats);
EXPECT_TRUE(stats.empty());
cache_->OnExternalCacheHit("First");
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698