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

Unified Diff: google_apis/drive/task_util.h

Issue 1135793002: Using ThreadTaskRunnerHandle in lieu of MessageLoopProxy in google_apis module (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « no previous file | google_apis/gaia/oauth2_access_token_fetcher_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/drive/task_util.h
diff --git a/google_apis/drive/task_util.h b/google_apis/drive/task_util.h
index 6d830dd0878c73bbe1db384973305252fb690743..abc0d8f3b89775c5acec79baff550f82b4a27dac 100644
--- a/google_apis/drive/task_util.h
+++ b/google_apis/drive/task_util.h
@@ -6,7 +6,7 @@
#define GOOGLE_APIS_DRIVE_TASK_UTIL_H_
#include "base/bind.h"
-#include "base/message_loop/message_loop_proxy.h"
+#include "base/thread_task_runner_handle.h"
namespace google_apis {
@@ -116,7 +116,7 @@ CallbackType CreateComposedCallback(
template<typename CallbackType>
CallbackType CreateRelayCallback(const CallbackType& callback) {
return CreateComposedCallback(
- base::Bind(&RunTaskWithTaskRunner, base::MessageLoopProxy::current()),
+ base::Bind(&RunTaskWithTaskRunner, base::ThreadTaskRunnerHandle::Get()),
callback);
}
« no previous file with comments | « no previous file | google_apis/gaia/oauth2_access_token_fetcher_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698