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

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

Issue 11975048: Native memory histograms for the browser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ios build fix Created 7 years, 10 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 | « content/browser/browser_main_loop.cc ('k') | content/browser/histogram_message_filter.cc » ('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) 2012 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 CONTENT_BROWSER_HISTOGRAM_MESSAGE_FILTER_H_ 5 #ifndef CONTENT_BROWSER_HISTOGRAM_MESSAGE_FILTER_H_
6 #define CONTENT_BROWSER_HISTOGRAM_MESSAGE_FILTER_H_ 6 #define CONTENT_BROWSER_HISTOGRAM_MESSAGE_FILTER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 13 matching lines...) Expand all
24 // BrowserMessageFilter implementation. 24 // BrowserMessageFilter implementation.
25 virtual bool OnMessageReceived(const IPC::Message& message, 25 virtual bool OnMessageReceived(const IPC::Message& message,
26 bool* message_was_ok) OVERRIDE; 26 bool* message_was_ok) OVERRIDE;
27 27
28 private: 28 private:
29 virtual ~HistogramMessageFilter(); 29 virtual ~HistogramMessageFilter();
30 30
31 // Message handlers. 31 // Message handlers.
32 void OnChildHistogramData(int sequence_number, 32 void OnChildHistogramData(int sequence_number,
33 const std::vector<std::string>& pickled_histograms); 33 const std::vector<std::string>& pickled_histograms);
34 void OnGetBrowserHistogram(const std::string& name,
35 std::string* histogram_json);
34 36
35 DISALLOW_COPY_AND_ASSIGN(HistogramMessageFilter); 37 DISALLOW_COPY_AND_ASSIGN(HistogramMessageFilter);
36 }; 38 };
37 39
38 } // namespace content 40 } // namespace content
39 41
40 #endif // CONTENT_BROWSER_HISTOGRAM_MESSAGE_FILTER_H_ 42 #endif // CONTENT_BROWSER_HISTOGRAM_MESSAGE_FILTER_H_
OLDNEW
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | content/browser/histogram_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698