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

Unified Diff: net/disk_cache/disk_cache.h

Issue 1114883002: Use of base::StringPairs appropriately in disk_cache (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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/disk_cache.h
diff --git a/net/disk_cache/disk_cache.h b/net/disk_cache/disk_cache.h
index 769ab361b199695bc68827815fc3e481cf39666a..84c1ee99516654258486494a8afeacfb70ddc31d 100644
--- a/net/disk_cache/disk_cache.h
+++ b/net/disk_cache/disk_cache.h
@@ -14,6 +14,7 @@
#include "base/basictypes.h"
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
+#include "base/strings/string_split.h"
#include "base/time/time.h"
#include "net/base/cache_type.h"
#include "net/base/completion_callback.h"
@@ -149,8 +150,7 @@ class NET_EXPORT Backend {
virtual scoped_ptr<Iterator> CreateIterator() = 0;
// Return a list of cache statistics.
- virtual void GetStats(
- std::vector<std::pair<std::string, std::string> >* stats) = 0;
+ virtual void GetStats(base::StringPairs* stats) = 0;
// Called whenever an external cache in the system reuses the resource
// referred to by |key|.
« 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