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

Unified Diff: chrome/browser/memory_details_linux.cc

Issue 1874483002: Remove "from all browsers" memory details mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rip out ProcessInfoSnapshot Created 4 years, 8 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_linux.cc
diff --git a/chrome/browser/memory_details_linux.cc b/chrome/browser/memory_details_linux.cc
index ff8fef34747d3dd006c0daed0e7d5f1fc8865d06..1c32344e6b73a41f59659b88b2d11233f09a0603 100644
--- a/chrome/browser/memory_details_linux.cc
+++ b/chrome/browser/memory_details_linux.cc
@@ -163,7 +163,6 @@ ProcessData* MemoryDetails::ChromeBrowser() {
}
void MemoryDetails::CollectProcessData(
- CollectionMode mode,
const std::vector<ProcessMemoryInformation>& child_info) {
DCHECK(BrowserThread::GetBlockingPool()->RunsTasksOnCurrentThread());
@@ -177,7 +176,7 @@ void MemoryDetails::CollectProcessData(
const BrowserType type = GetBrowserType(current_process.name);
if (type == MAX_BROWSERS)
continue;
- if (type != CHROME && mode == FROM_CHROME_ONLY)
+ if (type != CHROME)
continue;
ProcessMap::const_iterator parent_iter =

Powered by Google App Engine
This is Rietveld 408576698