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

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

Issue 9114020: Remove task.h and finish base::Bind() migration. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 8 years, 11 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/metrics/histogram.h" 15 #include "base/metrics/histogram.h"
16 #include "base/process.h" 16 #include "base/process.h"
17 #include "base/task.h"
18 #include "chrome/common/metrics_helpers.h" 17 #include "chrome/common/metrics_helpers.h"
19 #include "content/public/renderer/render_process_observer.h" 18 #include "content/public/renderer/render_process_observer.h"
20 19
21 class RendererHistogramSnapshots : public HistogramSender, 20 class RendererHistogramSnapshots : public HistogramSender,
22 public content::RenderProcessObserver { 21 public content::RenderProcessObserver {
23 public: 22 public:
24 RendererHistogramSnapshots(); 23 RendererHistogramSnapshots();
25 virtual ~RendererHistogramSnapshots(); 24 virtual ~RendererHistogramSnapshots();
26 25
27 // Send the histogram data. 26 // Send the histogram data.
(...skipping 23 matching lines...) Expand all
51 virtual void UniqueInconsistencyDetected(int problem) OVERRIDE; 50 virtual void UniqueInconsistencyDetected(int problem) OVERRIDE;
52 virtual void SnapshotProblemResolved(int amount) OVERRIDE; 51 virtual void SnapshotProblemResolved(int amount) OVERRIDE;
53 52
54 // Collection of histograms to send to the browser. 53 // Collection of histograms to send to the browser.
55 HistogramPickledList pickled_histograms_; 54 HistogramPickledList pickled_histograms_;
56 55
57 DISALLOW_COPY_AND_ASSIGN(RendererHistogramSnapshots); 56 DISALLOW_COPY_AND_ASSIGN(RendererHistogramSnapshots);
58 }; 57 };
59 58
60 #endif // CHROME_RENDERER_RENDERER_HISTOGRAM_SNAPSHOTS_H_ 59 #endif // CHROME_RENDERER_RENDERER_HISTOGRAM_SNAPSHOTS_H_
OLDNEW
« no previous file with comments | « chrome/renderer/net/renderer_net_predictor.h ('k') | chrome/renderer/safe_browsing/malware_dom_details.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698