| Index: chrome/browser/memory_details.cc
|
| diff --git a/chrome/browser/memory_details.cc b/chrome/browser/memory_details.cc
|
| index 6c1ea77de19f5227a2eebfa9de0e82df809283f7..0318219aaaca61a46149463a33501e13f855f6fb 100644
|
| --- a/chrome/browser/memory_details.cc
|
| +++ b/chrome/browser/memory_details.cc
|
| @@ -24,6 +24,15 @@
|
| #include "chrome/browser/renderer_host/render_sandbox_host_linux.h"
|
| #endif
|
|
|
| +ProcessMemoryInformation::ProcessMemoryInformation()
|
| + : pid(0),
|
| + num_processes(0),
|
| + is_diagnostics(false),
|
| + type(ChildProcessInfo::UNKNOWN_PROCESS) {
|
| +}
|
| +
|
| +ProcessMemoryInformation::~ProcessMemoryInformation() {}
|
| +
|
| // About threading:
|
| //
|
| // This operation will hit no fewer than 3 threads.
|
| @@ -36,7 +45,6 @@
|
| // one task run for that long on the UI or IO threads. So, we run the
|
| // expensive parts of this operation over on the file thread.
|
| //
|
| -
|
| void MemoryDetails::StartFetch() {
|
| DCHECK(!BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| DCHECK(!BrowserThread::CurrentlyOn(BrowserThread::FILE));
|
| @@ -48,6 +56,8 @@ void MemoryDetails::StartFetch() {
|
| NewRunnableMethod(this, &MemoryDetails::CollectChildInfoOnIOThread));
|
| }
|
|
|
| +MemoryDetails::~MemoryDetails() {}
|
| +
|
| void MemoryDetails::CollectChildInfoOnIOThread() {
|
| DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
|
|
|
|