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

Unified Diff: net/url_request/url_fetcher_impl.cc

Issue 10915307: URLFetcher uses a TaskRunner instead of a message loop. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Changes to url_fetcher.h Created 8 years, 3 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
« no previous file with comments | « net/url_request/url_fetcher_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_fetcher_impl.cc
diff --git a/net/url_request/url_fetcher_impl.cc b/net/url_request/url_fetcher_impl.cc
index da075224b3dd943c93b7001ca6928ea71ce3c0cd..0fe1bfaf88ea76cad9c83752d6bbf3f68ff9c5ab 100644
--- a/net/url_request/url_fetcher_impl.cc
+++ b/net/url_request/url_fetcher_impl.cc
@@ -104,13 +104,13 @@ base::TimeDelta URLFetcherImpl::GetBackoffDelay() const {
void URLFetcherImpl::SaveResponseToFileAtPath(
const FilePath& file_path,
- scoped_refptr<base::MessageLoopProxy> file_message_loop_proxy) {
- core_->SaveResponseToFileAtPath(file_path, file_message_loop_proxy);
+ scoped_refptr<base::TaskRunner> file_task_runner) {
+ core_->SaveResponseToFileAtPath(file_path, file_task_runner);
}
void URLFetcherImpl::SaveResponseToTemporaryFile(
- scoped_refptr<base::MessageLoopProxy> file_message_loop_proxy) {
- core_->SaveResponseToTemporaryFile(file_message_loop_proxy);
+ scoped_refptr<base::TaskRunner> file_task_runner) {
+ core_->SaveResponseToTemporaryFile(file_task_runner);
}
HttpResponseHeaders* URLFetcherImpl::GetResponseHeaders() const {
« no previous file with comments | « net/url_request/url_fetcher_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698