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

Side by Side Diff: content/browser/histogram_message_filter.h

Issue 10454086: Histograms - Support histograms for Plugins, GPU (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_HISTOGRAM_MESSAGE_FILTER_H_
6 #define CONTENT_BROWSER_HISTOGRAM_MESSAGE_FILTER_H_
7
8 #include <string>
9 #include <vector>
10
11 #include "content/public/browser/browser_message_filter.h"
12 #include "content/public/common/process_type.h"
13
14 namespace content {
15
16 // This class sends and receives histogram messages in the browser process.
17 class HistogramMessageFilter : public BrowserMessageFilter {
18 public:
19 HistogramMessageFilter();
20
21 // content::BrowserMessageFilter implementation.
22 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE;
23
24 // content::BrowserMessageFilter implementation.
25 virtual bool OnMessageReceived(const IPC::Message& message,
26 bool* message_was_ok) OVERRIDE;
27
28 private:
29 virtual ~HistogramMessageFilter();
30
31 // Message handlers.
32 void OnChildHistogramData(int sequence_number,
33 const std::vector<std::string>& pickled_histograms);
34
35 ProcessType process_type_;
36
37 DISALLOW_COPY_AND_ASSIGN(HistogramMessageFilter);
38 };
39
40 } // namespace content
41
42 #endif // CONTENT_BROWSER_HISTOGRAM_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « content/browser/histogram_internals_request_job.cc ('k') | content/browser/histogram_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698