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

Unified Diff: chrome/browser/file_system/file_system_dispatcher_host.cc

Issue 3660002: Rename ChromeThread to BrowserThread Part13: (Closed) Base URL: git://git.chromium.org/chromium.git
Patch Set: Created 10 years, 2 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/file_system/file_system_dispatcher_host.cc
diff --git a/chrome/browser/file_system/file_system_dispatcher_host.cc b/chrome/browser/file_system/file_system_dispatcher_host.cc
index 503e85b6eba5fb0db6384fd7a7884da3ba673881..d7af9ea4d688c1512e21212a49e10c898eff54cd 100644
--- a/chrome/browser/file_system/file_system_dispatcher_host.cc
+++ b/chrome/browser/file_system/file_system_dispatcher_host.cc
@@ -59,7 +59,7 @@ struct OpenFileSystemCompletionTask {
dispatcher_host_(dispatcher_host),
callback_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) {
base::FileUtilProxy::CreateDirectory(
- ChromeThread::GetMessageLoopProxyForThread(ChromeThread::FILE),
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE),
root_path_, false, true, callback_factory_.NewCallback(
&OpenFileSystemCompletionTask::DidFinish));
}
@@ -89,7 +89,7 @@ FileSystemDispatcherHost::~FileSystemDispatcherHost() {
}
void FileSystemDispatcherHost::Init(base::ProcessHandle process_handle) {
- DCHECK(ChromeThread::CurrentlyOn(ChromeThread::IO));
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
DCHECK(!shutdown_);
DCHECK(!process_handle_);
DCHECK(process_handle);
@@ -274,7 +274,7 @@ void FileSystemDispatcherHost::OnCancel(
}
void FileSystemDispatcherHost::Send(IPC::Message* message) {
- DCHECK(ChromeThread::CurrentlyOn(ChromeThread::IO));
+ DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
if (!shutdown_ && message_sender_)
message_sender_->Send(message);
else
@@ -328,7 +328,7 @@ fileapi::FileSystemOperation* FileSystemDispatcherHost::GetNewOperation(
new BrowserFileSystemCallbackDispatcher(this, request_id);
fileapi::FileSystemOperation* operation = new fileapi::FileSystemOperation(
dispatcher,
- ChromeThread::GetMessageLoopProxyForThread(ChromeThread::FILE));
+ BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE));
operations_.AddWithID(operation, request_id);
return operation;
}
« no previous file with comments | « chrome/browser/cocoa/tabpose_window.mm ('k') | chrome/browser/file_system/file_system_host_context_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698