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

Unified Diff: components/autofill/core/browser/autofill_download_manager_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/core/browser/autofill_download_manager_unittest.cc
diff --git a/components/autofill/core/browser/autofill_download_manager_unittest.cc b/components/autofill/core/browser/autofill_download_manager_unittest.cc
index 1383e1f599106c3730b2fc423ffc34b808489ac8..2023747b442b261bf5b08d911ccc7a3a08a577fc 100644
--- a/components/autofill/core/browser/autofill_download_manager_unittest.cc
+++ b/components/autofill/core/browser/autofill_download_manager_unittest.cc
@@ -6,12 +6,12 @@
#include <list>
-#include "base/message_loop/message_loop.h"
#include "base/prefs/pref_service.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/histogram_tester.h"
#include "base/test/test_timeouts.h"
+#include "base/thread_task_runner_handle.h"
#include "components/autofill/core/browser/autofill_field.h"
#include "components/autofill/core/browser/autofill_metrics.h"
#include "components/autofill/core/browser/autofill_test_utils.h"
@@ -60,7 +60,7 @@ class AutofillDownloadTest : public AutofillDownloadManager::Observer,
AutofillDownloadTest()
: prefs_(test::PrefServiceForTesting()),
request_context_(new net::TestURLRequestContextGetter(
- base::MessageLoopProxy::current())),
+ base::ThreadTaskRunnerHandle::Get())),
download_manager_(&driver_, prefs_.get(), this) {
driver_.SetURLRequestContext(request_context_.get());
}

Powered by Google App Engine
This is Rietveld 408576698