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

Unified Diff: net/disk_cache/blockfile/stats.h

Issue 1062803009: Use of base::StringPairs appropriately in stats.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Incorporated review comments. 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/blockfile/stats.h
diff --git a/net/disk_cache/blockfile/stats.h b/net/disk_cache/blockfile/stats.h
index 769c171cf5581fcac9466c2b911943012075eaab..32dcc2f22b5f4faba2b25011e54d589ff4f48b17 100644
--- a/net/disk_cache/blockfile/stats.h
+++ b/net/disk_cache/blockfile/stats.h
@@ -6,9 +6,9 @@
#define NET_DISK_CACHE_BLOCKFILE_STATS_H_
#include <string>
-#include <vector>
#include "base/basictypes.h"
+#include "base/strings/string_split.h"
#include "net/base/net_export.h"
#include "net/disk_cache/blockfile/addr.h"
@@ -18,7 +18,7 @@ class HistogramSamples;
namespace disk_cache {
-typedef std::vector<std::pair<std::string, std::string> > StatsItems;
+using StatsItems = base::StringPairs;
// This class stores cache-specific usage information, for tunning purposes.
class NET_EXPORT_PRIVATE Stats {
« 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