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

Side by Side Diff: net/disk_cache/stats.h

Issue 10383229: Cleanup: Remove unneeded scoped_ptr.h includes from net. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix win Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/curvecp/packetizer.h ('k') | net/dns/dns_config_service_posix.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_DISK_CACHE_STATS_H_ 5 #ifndef NET_DISK_CACHE_STATS_H_
6 #define NET_DISK_CACHE_STATS_H_ 6 #define NET_DISK_CACHE_STATS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/memory/scoped_ptr.h"
14 #include "net/disk_cache/stats_histogram.h" 13 #include "net/disk_cache/stats_histogram.h"
15 14
16 namespace disk_cache { 15 namespace disk_cache {
17 16
18 class BackendImpl; 17 class BackendImpl;
19 18
20 typedef std::vector<std::pair<std::string, std::string> > StatsItems; 19 typedef std::vector<std::pair<std::string, std::string> > StatsItems;
21 20
22 // This class stores cache-specific usage information, for tunning purposes. 21 // This class stores cache-specific usage information, for tunning purposes.
23 class Stats { 22 class Stats {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 int data_sizes_[kDataSizesLength]; 86 int data_sizes_[kDataSizesLength];
88 int64 counters_[MAX_COUNTER]; 87 int64 counters_[MAX_COUNTER];
89 StatsHistogram* size_histogram_; 88 StatsHistogram* size_histogram_;
90 89
91 DISALLOW_COPY_AND_ASSIGN(Stats); 90 DISALLOW_COPY_AND_ASSIGN(Stats);
92 }; 91 };
93 92
94 } // namespace disk_cache 93 } // namespace disk_cache
95 94
96 #endif // NET_DISK_CACHE_STATS_H_ 95 #endif // NET_DISK_CACHE_STATS_H_
OLDNEW
« no previous file with comments | « net/curvecp/packetizer.h ('k') | net/dns/dns_config_service_posix.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698