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

Unified Diff: chrome/browser/sync/glue/password_data_type_controller.cc

Issue 8341117: Converted top-level NewRunnable* to Bind for Sync module (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Indenting. Removed trailing whitespace. Created 9 years, 2 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
« no previous file with comments | « chrome/browser/sync/glue/http_bridge.cc ('k') | chrome/browser/sync/glue/password_model_worker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/password_data_type_controller.cc
diff --git a/chrome/browser/sync/glue/password_data_type_controller.cc b/chrome/browser/sync/glue/password_data_type_controller.cc
index 508e9de603439268a4ba1927c23562a4b0fbf121..22a218af6099818534a91063d9fe6224789e8e5c 100644
--- a/chrome/browser/sync/glue/password_data_type_controller.cc
+++ b/chrome/browser/sync/glue/password_data_type_controller.cc
@@ -46,7 +46,7 @@ bool PasswordDataTypeController::StartAssociationAsync() {
DCHECK_EQ(state(), ASSOCIATING);
DCHECK(password_store_.get());
password_store_->ScheduleTask(
- NewRunnableMethod(this, &PasswordDataTypeController::StartAssociation));
+ base::Bind(&PasswordDataTypeController::StartAssociation, this));
return true;
}
@@ -67,7 +67,7 @@ bool PasswordDataTypeController::StopAssociationAsync() {
DCHECK_EQ(state(), STOPPING);
DCHECK(password_store_.get());
password_store_->ScheduleTask(
- NewRunnableMethod(this, &PasswordDataTypeController::StopAssociation));
+ base::Bind(&PasswordDataTypeController::StopAssociation, this));
return true;
}
« no previous file with comments | « chrome/browser/sync/glue/http_bridge.cc ('k') | chrome/browser/sync/glue/password_model_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698