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

Side by Side Diff: chrome/renderer/renderer_histogram_snapshots.h

Issue 3181028: FBTB: Remove unneeded #includes of base/ref_counted.h and base/string16.h in src/chrome. (Closed)
Patch Set: should now build? Created 10 years, 4 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
« no previous file with comments | « chrome/renderer/render_thread.h ('k') | chrome/renderer/renderer_webstoragearea_impl.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_RENDERER_RENDERER_HISTOGRAM_SNAPSHOTS_H_ 5 #ifndef CHROME_RENDERER_RENDERER_HISTOGRAM_SNAPSHOTS_H_
6 #define CHROME_RENDERER_RENDERER_HISTOGRAM_SNAPSHOTS_H_ 6 #define CHROME_RENDERER_RENDERER_HISTOGRAM_SNAPSHOTS_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "base/histogram.h" 14 #include "base/histogram.h"
15 #include "base/process.h" 15 #include "base/process.h"
16 #include "base/scoped_ptr.h"
17 #include "base/task.h" 16 #include "base/task.h"
18 17
19 class RendererHistogramSnapshots { 18 class RendererHistogramSnapshots {
20 public: 19 public:
21 RendererHistogramSnapshots(); 20 RendererHistogramSnapshots();
22 ~RendererHistogramSnapshots(); 21 ~RendererHistogramSnapshots();
23 22
24 // Send the histogram data. 23 // Send the histogram data.
25 void SendHistograms(int sequence_number); 24 void SendHistograms(int sequence_number);
26 25
(...skipping 15 matching lines...) Expand all
42 renderer_histogram_snapshots_factory_; 41 renderer_histogram_snapshots_factory_;
43 42
44 // For histograms, record what we've already logged (as a sample for each 43 // For histograms, record what we've already logged (as a sample for each
45 // histogram) so that we can send only the delta with the next log. 44 // histogram) so that we can send only the delta with the next log.
46 LoggedSampleMap logged_samples_; 45 LoggedSampleMap logged_samples_;
47 46
48 DISALLOW_COPY_AND_ASSIGN(RendererHistogramSnapshots); 47 DISALLOW_COPY_AND_ASSIGN(RendererHistogramSnapshots);
49 }; 48 };
50 49
51 #endif // CHROME_RENDERER_RENDERER_HISTOGRAM_SNAPSHOTS_H_ 50 #endif // CHROME_RENDERER_RENDERER_HISTOGRAM_SNAPSHOTS_H_
OLDNEW
« no previous file with comments | « chrome/renderer/render_thread.h ('k') | chrome/renderer/renderer_webstoragearea_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698