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

Unified Diff: chrome/browser/memory_details_linux.cc

Issue 8760011: Move the ProcessType enum out to its own file. This is in preparation for getting rid of ChildPro... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 9 years, 1 month 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 | « chrome/browser/memory_details.cc ('k') | chrome/browser/memory_details_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/memory_details_linux.cc
===================================================================
--- chrome/browser/memory_details_linux.cc (revision 112315)
+++ chrome/browser/memory_details_linux.cc (working copy)
@@ -21,6 +21,7 @@
#include "content/browser/browser_child_process_host.h"
#include "content/browser/zygote_host_linux.h"
#include "content/public/browser/browser_thread.h"
+#include "content/public/common/process_type.h"
#include "grit/chromium_strings.h"
using content::BrowserThread;
@@ -158,9 +159,9 @@
pmi.num_processes = 1;
if (pmi.pid == base::GetCurrentProcId())
- pmi.type = ChildProcessInfo::BROWSER_PROCESS;
+ pmi.type = content::PROCESS_TYPE_BROWSER;
else
- pmi.type = ChildProcessInfo::UNKNOWN_PROCESS;
+ pmi.type = content::PROCESS_TYPE_UNKNOWN;
base::ProcessMetrics* metrics =
base::ProcessMetrics::CreateProcessMetrics(*i);
« no previous file with comments | « chrome/browser/memory_details.cc ('k') | chrome/browser/memory_details_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698