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

Unified Diff: components/sync_driver/sync_service.cc

Issue 2044303004: Sync: Support multiple setup UIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename variable Created 4 years, 6 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/sync_driver/sync_service.cc
diff --git a/components/sync_driver/sync_service.cc b/components/sync_driver/sync_service.cc
index ab73a66a9f6780baef7710a45b6e1733dbb16ac3..8b7a88083948af7df45fcba2d3d29d05500eea41 100644
--- a/components/sync_driver/sync_service.cc
+++ b/components/sync_driver/sync_service.cc
@@ -9,9 +9,15 @@
namespace sync_driver {
+SyncSetupInProgressHandle::SyncSetupInProgressHandle(base::Closure on_destroy)
+ : on_destroy_(on_destroy) {}
+
+SyncSetupInProgressHandle::~SyncSetupInProgressHandle() {
+ on_destroy_.Run();
+}
+
SyncService::SyncTokenStatus::SyncTokenStatus()
: connection_status(syncer::CONNECTION_NOT_ATTEMPTED),
last_get_token_error(GoogleServiceAuthError::AuthErrorNone()) {}
-SyncService::SyncTokenStatus::~SyncTokenStatus() {}
-}
+} // namespace sync_driver

Powered by Google App Engine
This is Rietveld 408576698