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

Unified Diff: chrome/browser/memory_details_win.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_win.cc
===================================================================
--- chrome/browser/memory_details_win.cc (revision 189692)
+++ chrome/browser/memory_details_win.cc (working copy)
@@ -108,9 +108,9 @@
ProcessMemoryInformation info;
info.pid = pid;
if (info.pid == GetCurrentProcessId())
- 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;
scoped_ptr<base::ProcessMetrics> metrics;
metrics.reset(base::ProcessMetrics::CreateProcessMetrics(process_handle));
@@ -129,7 +129,7 @@
if (child_info[child].pid != info.pid)
continue;
info.titles = child_info[child].titles;
- info.type = child_info[child].type;
+ info.process_type = child_info[child].process_type;
break;
}
} else if (GetModuleFileNameEx(process_handle, NULL, name,

Powered by Google App Engine
This is Rietveld 408576698