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

Unified Diff: chrome/browser/drive/gdata_wapi_service.h

Issue 63923002: net: Use SequencedTaskRunner for URLFetcherResponseWriter (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/drive/gdata_wapi_service.h
diff --git a/chrome/browser/drive/gdata_wapi_service.h b/chrome/browser/drive/gdata_wapi_service.h
index c490e49da0069836c77e8b68d47f851abf8f1e63..8c4a029b5d8d73f496ee15a6292bfbac4fe02715 100644
--- a/chrome/browser/drive/gdata_wapi_service.h
+++ b/chrome/browser/drive/gdata_wapi_service.h
@@ -22,7 +22,7 @@ class OAuth2TokenService;
namespace base {
class FilePath;
-class TaskRunner;
+class SequencedTaskRunner;
}
namespace google_apis {
@@ -51,7 +51,7 @@ class GDataWapiService : public DriveServiceInterface,
// requests issued through the service if the value is not empty.
GDataWapiService(OAuth2TokenService* oauth2_token_service,
net::URLRequestContextGetter* url_request_context_getter,
- base::TaskRunner* blocking_task_runner,
+ base::SequencedTaskRunner* blocking_task_runner,
const GURL& base_url,
const GURL& base_download_url,
const std::string& custom_user_agent);
@@ -191,7 +191,7 @@ class GDataWapiService : public DriveServiceInterface,
OAuth2TokenService* oauth2_token_service_; // Not owned.
scoped_refptr<net::URLRequestContextGetter> url_request_context_getter_;
- scoped_refptr<base::TaskRunner> blocking_task_runner_;
+ scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_;
scoped_ptr<google_apis::RequestSender> sender_;
ObserverList<DriveServiceObserver> observers_;
// Request objects should hold a copy of this, rather than a const

Powered by Google App Engine
This is Rietveld 408576698