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

Unified Diff: net/http/mock_http_cache.h

Issue 1112083002: Use of base::StringPairs appropriately in Mock_Http (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | net/http/mock_http_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/mock_http_cache.h
diff --git a/net/http/mock_http_cache.h b/net/http/mock_http_cache.h
index f77ace40c53343985eb36277b3071a28c46ca559..c5e5fd9bcf21a7ca17f59743e442006ee9c8f4d8 100644
--- a/net/http/mock_http_cache.h
+++ b/net/http/mock_http_cache.h
@@ -11,6 +11,7 @@
#define NET_HTTP_MOCK_HTTP_CACHE_H_
#include "base/containers/hash_tables.h"
+#include "base/strings/string_split.h"
#include "net/disk_cache/disk_cache.h"
#include "net/http/http_cache.h"
#include "net/http/http_transaction_test_util.h"
@@ -127,8 +128,7 @@ class MockDiskCache : public disk_cache::Backend {
int DoomEntriesSince(base::Time initial_time,
const CompletionCallback& callback) override;
scoped_ptr<Iterator> CreateIterator() override;
- void GetStats(
- std::vector<std::pair<std::string, std::string>>* stats) override;
+ void GetStats(base::StringPairs* stats) override;
void OnExternalCacheHit(const std::string& key) override;
// Returns number of times a cache entry was successfully opened.
« no previous file with comments | « no previous file | net/http/mock_http_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698