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

Unified Diff: chrome/browser/printing/cloud_print/privet_url_fetcher.cc

Issue 2133083002: Remove all remaining traces of MessageLoopProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/printing/cloud_print/privet_url_fetcher.cc
diff --git a/chrome/browser/printing/cloud_print/privet_url_fetcher.cc b/chrome/browser/printing/cloud_print/privet_url_fetcher.cc
index b9b063215f6202ad85b07f97062257a360869174..1fdccbdae7370cfedfd5e88589026eeb71ba7a02 100644
--- a/chrome/browser/printing/cloud_print/privet_url_fetcher.cc
+++ b/chrome/browser/printing/cloud_print/privet_url_fetcher.cc
@@ -171,7 +171,7 @@ void PrivetURLFetcher::Try() {
if (make_response_file_) {
url_fetcher_->SaveResponseToTemporaryFile(
- content::BrowserThread::GetMessageLoopProxyForThread(
+ content::BrowserThread::GetTaskRunnerForThread(
content::BrowserThread::FILE));
}
@@ -181,7 +181,7 @@ void PrivetURLFetcher::Try() {
url_fetcher_->SetUploadFilePath(
upload_content_type_, upload_file_path_, 0 /*offset*/,
std::numeric_limits<uint64_t>::max() /*length*/,
- content::BrowserThread::GetMessageLoopProxyForThread(
+ content::BrowserThread::GetTaskRunnerForThread(
content::BrowserThread::FILE));
} else {
url_fetcher_->SetUploadData(upload_content_type_, upload_data_);

Powered by Google App Engine
This is Rietveld 408576698