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

Unified Diff: chrome/browser/supervised_user/child_accounts/permission_request_creator_apiary_unittest.cc

Issue 1112403005: [chrome/browser] Replace MessageLoopProxy usage with ThreadTaskRunnerHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed nit 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/supervised_user/child_accounts/permission_request_creator_apiary_unittest.cc
diff --git a/chrome/browser/supervised_user/child_accounts/permission_request_creator_apiary_unittest.cc b/chrome/browser/supervised_user/child_accounts/permission_request_creator_apiary_unittest.cc
index 50b444382c2091fb6b08018b67cf18bbc7dc0559..f78e9afae4ff5b5a2b2fc00261e3bf42250ae031 100644
--- a/chrome/browser/supervised_user/child_accounts/permission_request_creator_apiary_unittest.cc
+++ b/chrome/browser/supervised_user/child_accounts/permission_request_creator_apiary_unittest.cc
@@ -5,6 +5,7 @@
#include "base/json/json_writer.h"
#include "base/memory/scoped_ptr.h"
#include "base/message_loop/message_loop.h"
+#include "base/thread_task_runner_handle.h"
#include "base/values.h"
#include "chrome/browser/signin/fake_profile_oauth2_token_service.h"
#include "chrome/browser/supervised_user/child_accounts/permission_request_creator_apiary.h"
@@ -33,7 +34,7 @@ class PermissionRequestCreatorApiaryTest : public testing::Test {
public:
PermissionRequestCreatorApiaryTest()
: request_context_(new net::TestURLRequestContextGetter(
- base::MessageLoopProxy::current())),
+ base::ThreadTaskRunnerHandle::Get())),
permission_creator_(&token_service_,
kAccountId,
request_context_.get()) {

Powered by Google App Engine
This is Rietveld 408576698