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

Unified Diff: chrome/browser/memory_details_mac.cc

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: chrome/browser/memory_details_mac.cc
===================================================================
--- chrome/browser/memory_details_mac.cc (revision 189692)
+++ chrome/browser/memory_details_mac.cc (working copy)
@@ -147,7 +147,7 @@
it != pids_by_browser[index].end(); ++it) {
ProcessMemoryInformation info;
info.pid = *it;
- info.type = content::PROCESS_TYPE_UNKNOWN;
+ info.process_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
@@ -208,9 +208,9 @@
ProcessMemoryInformation info;
info.pid = pid;
if (info.pid == base::GetCurrentProcId())
- info.type = content::PROCESS_TYPE_BROWSER;
+ info.process_type = content::PROCESS_TYPE_BROWSER;
else
- info.type = content::PROCESS_TYPE_UNKNOWN;
+ info.process_type = content::PROCESS_TYPE_UNKNOWN;
chrome::VersionInfo version_info;
if (version_info.is_valid()) {
@@ -226,7 +226,7 @@
for (size_t child = 0; child < child_info.size(); child++) {
if (child_info[child].pid == info.pid) {
info.titles = child_info[child].titles;
- info.type = child_info[child].type;
+ info.process_type = child_info[child].process_type;
break;
}
}

Powered by Google App Engine
This is Rietveld 408576698