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

Unified Diff: chrome/browser/memory_details_mac.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_linux.cc ('k') | chrome/browser/memory_details_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/memory_details_mac.cc
===================================================================
--- chrome/browser/memory_details_mac.cc (revision 112315)
+++ chrome/browser/memory_details_mac.cc (working copy)
@@ -24,6 +24,7 @@
#include "content/browser/renderer_host/backing_store_manager.h"
#include "content/browser/tab_contents/navigation_entry.h"
#include "content/public/browser/browser_thread.h"
+#include "content/public/common/process_type.h"
#include "grit/chromium_strings.h"
#include "ui/base/l10n/l10n_util.h"
@@ -150,7 +151,7 @@
it != pids_by_browser[index].end(); ++it) {
ProcessMemoryInformation info;
info.pid = *it;
- info.type = ChildProcessInfo::UNKNOWN_PROCESS;
+ info.type = content::PROCESS_TYPE_UNKNOWN;
// Try to get version information. To do this, we need first to get the
// executable's name (we can only believe |proc_info.command| if it looks
@@ -211,9 +212,9 @@
ProcessMemoryInformation info;
info.pid = pid;
if (info.pid == base::GetCurrentProcId())
- info.type = ChildProcessInfo::BROWSER_PROCESS;
+ info.type = content::PROCESS_TYPE_BROWSER;
else
- info.type = ChildProcessInfo::UNKNOWN_PROCESS;
+ info.type = content::PROCESS_TYPE_UNKNOWN;
chrome::VersionInfo version_info;
if (version_info.is_valid()) {
« no previous file with comments | « chrome/browser/memory_details_linux.cc ('k') | chrome/browser/memory_details_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698