summaryrefslogtreecommitdiffstats
path: root/chrome/browser/memory_details.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-11 02:45:52 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-11 02:45:52 +0000
commitf8b3ef8aab85985cb74d748112a1a3ec8e2b7ed8 (patch)
tree3bca9c7a2c36af1c29ae37e0668be3ee1849356a /chrome/browser/memory_details.cc
parentad27b85ef15c7446744911b776a733842f8e9206 (diff)
downloadchromium_src-f8b3ef8aab85985cb74d748112a1a3ec8e2b7ed8.zip
chromium_src-f8b3ef8aab85985cb74d748112a1a3ec8e2b7ed8.tar.gz
chromium_src-f8b3ef8aab85985cb74d748112a1a3ec8e2b7ed8.tar.bz2
Rename ChromeThread to BrowserThread Part15:
- Rename entries in more 40 files under chrome/browser. BUG=56926 TEST=trybots Review URL: http://codereview.chromium.org/3704001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62130 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/memory_details.cc')
-rw-r--r--chrome/browser/memory_details.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/chrome/browser/memory_details.cc b/chrome/browser/memory_details.cc
index db257e0..a6c063f 100644
--- a/chrome/browser/memory_details.cc
+++ b/chrome/browser/memory_details.cc
@@ -38,18 +38,18 @@
//
void MemoryDetails::StartFetch() {
- DCHECK(!ChromeThread::CurrentlyOn(ChromeThread::IO));
- DCHECK(!ChromeThread::CurrentlyOn(ChromeThread::FILE));
+ DCHECK(!BrowserThread::CurrentlyOn(BrowserThread::IO));
+ DCHECK(!BrowserThread::CurrentlyOn(BrowserThread::FILE));
// In order to process this request, we need to use the plugin information.
// However, plugin process information is only available from the IO thread.
- ChromeThread::PostTask(
- ChromeThread::IO, FROM_HERE,
+ BrowserThread::PostTask(
+ BrowserThread::IO, FROM_HERE,
NewRunnableMethod(this, &MemoryDetails::CollectChildInfoOnIOThread));
}
void MemoryDetails::CollectChildInfoOnIOThread() {
- DCHECK(ChromeThread::CurrentlyOn(ChromeThread::IO));
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
std::vector<ProcessMemoryInformation> child_info;
@@ -66,13 +66,13 @@ void MemoryDetails::CollectChildInfoOnIOThread() {
}
// Now go do expensive memory lookups from the file thread.
- ChromeThread::PostTask(
- ChromeThread::FILE, FROM_HERE,
+ BrowserThread::PostTask(
+ BrowserThread::FILE, FROM_HERE,
NewRunnableMethod(this, &MemoryDetails::CollectProcessData, child_info));
}
void MemoryDetails::CollectChildInfoOnUIThread() {
- DCHECK(ChromeThread::CurrentlyOn(ChromeThread::UI));
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
#if defined(OS_LINUX)
const pid_t zygote_pid = Singleton<ZygoteHost>()->pid();