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

Unified Diff: chrome/browser/policy/cloud/user_cloud_policy_invalidator.cc

Issue 1118483002: [chrome/browser/policy] Replace MessageLoopProxy usage with ThreadTaskRunnerHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed Review Comments Created 5 years, 8 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/policy/cloud/user_cloud_policy_invalidator.cc
diff --git a/chrome/browser/policy/cloud/user_cloud_policy_invalidator.cc b/chrome/browser/policy/cloud/user_cloud_policy_invalidator.cc
index 1e6bf90072b57770539bdaf4b56f5c9b0d5669ac..02157b385e805cb01342b1aa548f481652dc3fea 100644
--- a/chrome/browser/policy/cloud/user_cloud_policy_invalidator.cc
+++ b/chrome/browser/policy/cloud/user_cloud_policy_invalidator.cc
@@ -6,7 +6,7 @@
#include "base/bind.h"
#include "base/memory/scoped_ptr.h"
-#include "base/message_loop/message_loop_proxy.h"
+#include "base/thread_task_runner_handle.h"
#include "base/time/default_clock.h"
#include "chrome/browser/chrome_notification_types.h"
#include "chrome/browser/invalidation/profile_invalidation_provider_factory.h"
@@ -21,7 +21,7 @@ UserCloudPolicyInvalidator::UserCloudPolicyInvalidator(
CloudPolicyManager* policy_manager)
: CloudPolicyInvalidator(GetPolicyType(),
policy_manager->core(),
- base::MessageLoopProxy::current(),
+ base::ThreadTaskRunnerHandle::Get(),
scoped_ptr<base::Clock>(new base::DefaultClock()),
0 /* highest_handled_invalidation_version */),
profile_(profile) {

Powered by Google App Engine
This is Rietveld 408576698