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

Unified Diff: components/autofill/content/browser/wallet/real_pan_wallet_client_unittest.cc

Issue 1144153004: components: Remove use of MessageLoopProxy and deprecated MessageLoop APIs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. 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
Index: components/autofill/content/browser/wallet/real_pan_wallet_client_unittest.cc
diff --git a/components/autofill/content/browser/wallet/real_pan_wallet_client_unittest.cc b/components/autofill/content/browser/wallet/real_pan_wallet_client_unittest.cc
index 92defc007f0ab789d31cac7c87a1bf3b7a3eb575..4bbc78c8ee927fafac40f7fae2dde33a259f7584 100644
--- a/components/autofill/content/browser/wallet/real_pan_wallet_client_unittest.cc
+++ b/components/autofill/content/browser/wallet/real_pan_wallet_client_unittest.cc
@@ -3,6 +3,7 @@
// found in the LICENSE file.
#include "base/command_line.h"
+#include "base/thread_task_runner_handle.h"
#include "components/autofill/core/browser/autofill_test_utils.h"
#include "components/autofill/core/browser/wallet/real_pan_wallet_client.h"
#include "components/autofill/core/common/autofill_switches.h"
@@ -28,7 +29,7 @@ class RealPanWalletClientTest : public testing::Test,
switches::kWalletServiceUseSandbox, "0");
request_context_ = new net::TestURLRequestContextGetter(
- base::MessageLoopProxy::current());
+ base::ThreadTaskRunnerHandle::Get());
token_service_.reset(new FakeOAuth2TokenService());
identity_provider_.reset(new FakeIdentityProvider(token_service_.get()));
client_.reset(new RealPanWalletClient(request_context_.get(), this));
« no previous file with comments | « components/audio_modem/audio_player_unittest.cc ('k') | components/autofill/content/browser/wallet/wallet_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698