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

Unified Diff: chrome/browser/ui/webui/options/password_manager_handler.cc

Issue 2133083002: Remove all remaining traces of MessageLoopProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/ui/webui/options/password_manager_handler.cc
diff --git a/chrome/browser/ui/webui/options/password_manager_handler.cc b/chrome/browser/ui/webui/options/password_manager_handler.cc
index 405aa913ea137c7b47506a7d7a51f9289684dfd2..6f5b0e64291354caf17b61cc6b1280fcd45d73d8 100644
--- a/chrome/browser/ui/webui/options/password_manager_handler.cc
+++ b/chrome/browser/ui/webui/options/password_manager_handler.cc
@@ -346,7 +346,7 @@ void PasswordManagerHandler::ImportPasswordFileSelected(
new ImportPasswordResultConsumer(GetProfile()));
password_manager::PasswordImporter::Import(
- path, content::BrowserThread::GetMessageLoopProxyForThread(
+ path, content::BrowserThread::GetTaskRunnerForThread(
content::BrowserThread::FILE)
.get(),
base::Bind(&ImportPasswordResultConsumer::ConsumePassword,
@@ -409,7 +409,7 @@ void PasswordManagerHandler::ExportPasswordFileSelected(
UMA_HISTOGRAM_COUNTS("PasswordManager.ExportedPasswordsPerUserInCSV",
password_list.size());
password_manager::PasswordExporter::Export(
- path, password_list, content::BrowserThread::GetMessageLoopProxyForThread(
+ path, password_list, content::BrowserThread::GetTaskRunnerForThread(
content::BrowserThread::FILE)
.get());
}

Powered by Google App Engine
This is Rietveld 408576698