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

Unified Diff: content/browser/profiler_message_filter.h

Issue 985773002: Introducing phased profiling framework (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@write_to_file
Patch Set: Fixing Android compile errors. Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/profiler_controller_impl.cc ('k') | content/browser/profiler_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/profiler_message_filter.h
diff --git a/content/browser/profiler_message_filter.h b/content/browser/profiler_message_filter.h
index df4ce53e0617f3758c76ffad2bd42f0f05f4dd85..875e45d0aa6c3d8a603b4f1816d83f822b34096a 100644
--- a/content/browser/profiler_message_filter.h
+++ b/content/browser/profiler_message_filter.h
@@ -8,6 +8,7 @@
#include <string>
#include "content/public/browser/browser_message_filter.h"
+#include "content/public/common/process_type.h"
namespace tracked_objects {
struct ProcessDataSnapshot;
@@ -18,7 +19,7 @@ namespace content {
// This class sends and receives profiler messages in the browser process.
class ProfilerMessageFilter : public BrowserMessageFilter {
public:
- explicit ProfilerMessageFilter(int process_type);
+ explicit ProfilerMessageFilter(content::ProcessType process_type);
// BrowserMessageFilter implementation.
void OnChannelConnected(int32 peer_pid) override;
@@ -39,7 +40,7 @@ class ProfilerMessageFilter : public BrowserMessageFilter {
void OnTcmallocStats(const std::string& output);
#endif
- int process_type_;
+ content::ProcessType process_type_;
DISALLOW_COPY_AND_ASSIGN(ProfilerMessageFilter);
};
« no previous file with comments | « content/browser/profiler_controller_impl.cc ('k') | content/browser/profiler_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698