diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-08 04:03:50 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-08 04:03:50 +0000 |
commit | 9a7e150847e8885c1fadd954b870866490956bf0 (patch) | |
tree | a786b0cc4078ad97750f7da3b90a513716eb979c /chrome/browser/renderer_host/offline_resource_handler.cc | |
parent | 5d9620155824daa9dbd1ea96611241b475b1b167 (diff) | |
download | chromium_src-9a7e150847e8885c1fadd954b870866490956bf0.zip chromium_src-9a7e150847e8885c1fadd954b870866490956bf0.tar.gz chromium_src-9a7e150847e8885c1fadd954b870866490956bf0.tar.bz2 |
Rename ChromeThread to BrowserThread Part6:
- Rename entries under renderer_host and ssl.
BUG=56926
TEST=trybots
Review URL: http://codereview.chromium.org/3595017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61913 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/offline_resource_handler.cc')
-rw-r--r-- | chrome/browser/renderer_host/offline_resource_handler.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/browser/renderer_host/offline_resource_handler.cc b/chrome/browser/renderer_host/offline_resource_handler.cc index c270d14..4305294 100644 --- a/chrome/browser/renderer_host/offline_resource_handler.cc +++ b/chrome/browser/renderer_host/offline_resource_handler.cc @@ -70,8 +70,8 @@ bool OfflineResourceHandler::OnWillStart(int request_id, deferred_url_ = url; DLOG(INFO) << "WillStart: this=" << this << ", request id=" << request_id; AddRef(); // Balanced with OnBlockingPageComplete - ChromeThread::PostTask( - ChromeThread::UI, FROM_HERE, + BrowserThread::PostTask( + BrowserThread::UI, FROM_HERE, NewRunnableMethod(this, &OfflineResourceHandler::ShowOfflinePage)); *defer = true; return true; @@ -98,9 +98,9 @@ void OfflineResourceHandler::OnBlockingPageComplete(bool proceed) { NOTREACHED(); return; } - if (!ChromeThread::CurrentlyOn(ChromeThread::IO)) { - ChromeThread::PostTask( - ChromeThread::IO, FROM_HERE, + if (!BrowserThread::CurrentlyOn(BrowserThread::IO)) { + BrowserThread::PostTask( + BrowserThread::IO, FROM_HERE, NewRunnableMethod(this, &OfflineResourceHandler::OnBlockingPageComplete, proceed)); |