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

Unified Diff: content/browser/profiler_message_filter.h

Issue 12662019: Split the ProcessType enum into process types that content knows about (which will remain in src\co… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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
Index: content/browser/profiler_message_filter.h
===================================================================
--- content/browser/profiler_message_filter.h (revision 189692)
+++ content/browser/profiler_message_filter.h (working copy)
@@ -8,7 +8,6 @@
#include <string>
#include "content/public/browser/browser_message_filter.h"
-#include "content/public/common/process_type.h"
namespace tracked_objects {
struct ProcessDataSnapshot;
@@ -19,7 +18,7 @@
// This class sends and receives profiler messages in the browser process.
class ProfilerMessageFilter : public BrowserMessageFilter {
public:
- explicit ProfilerMessageFilter(ProcessType process_type);
+ explicit ProfilerMessageFilter(int process_type);
// BrowserMessageFilter implementation.
virtual void OnChannelConnected(int32 peer_pid) OVERRIDE;
@@ -41,7 +40,7 @@
void OnTcmallocStats(const std::string& output);
#endif
- ProcessType process_type_;
+ int process_type_;
DISALLOW_COPY_AND_ASSIGN(ProfilerMessageFilter);
};

Powered by Google App Engine
This is Rietveld 408576698