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
diff --git a/chrome/browser/memory_details_mac.cc b/chrome/browser/memory_details_mac.cc
index 26b9fbff..881fdae3 100644
--- a/chrome/browser/memory_details_mac.cc
+++ b/chrome/browser/memory_details_mac.cc
@@ -86,7 +86,7 @@
std::vector<ProcessMemoryInformation> child_info) {
// This must be run on the file thread to avoid jank (|ProcessInfoSnapshot|
// runs /bin/ps, which isn't instantaneous).
- DCHECK(ChromeThread::CurrentlyOn(ChromeThread::FILE));
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
// Clear old data.
for (size_t index = 0; index < MAX_BROWSERS; index++)
@@ -183,8 +183,8 @@
}
// Finally return to the browser thread.
- ChromeThread::PostTask(
- ChromeThread::UI, FROM_HERE,
+ BrowserThread::PostTask(
+ BrowserThread::UI, FROM_HERE,
NewRunnableMethod(this, &MemoryDetails::CollectChildInfoOnUIThread));
}