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

Unified Diff: chrome/browser/sync/abstract_profile_sync_service_test.h

Issue 10804039: Make SyncBackendRegistrar aware of loaded data (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Better comments Created 8 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/sync/abstract_profile_sync_service_test.h
diff --git a/chrome/browser/sync/abstract_profile_sync_service_test.h b/chrome/browser/sync/abstract_profile_sync_service_test.h
index 32f61b0ba32f9065d16282ceedea911baa450705..c4141009c481e003bb4c6b922ae636de12babc5c 100644
--- a/chrome/browser/sync/abstract_profile_sync_service_test.h
+++ b/chrome/browser/sync/abstract_profile_sync_service_test.h
@@ -56,7 +56,7 @@ class AbstractProfileSyncServiceTest : public testing::Test {
virtual void TearDown() OVERRIDE;
- bool CreateRoot(syncer::ModelType model_type);
+ bool CreateRoot(syncer::ModelType model_type, syncer::UserShare* user_share);
static ProfileKeyedService* BuildTokenService(Profile* profile);
protected:
@@ -75,13 +75,13 @@ class CreateRootHelper {
syncer::ModelType model_type);
virtual ~CreateRootHelper();
- const base::Closure& callback() const;
+ const base::Callback<void(syncer::UserShare*)>& callback() const;
bool success();
private:
- void CreateRootCallback();
+ void CreateRootCallback(syncer::UserShare*);
- base::Closure callback_;
+ base::Callback<void(syncer::UserShare*)> callback_;
AbstractProfileSyncServiceTest* test_;
syncer::ModelType model_type_;
bool success_;

Powered by Google App Engine
This is Rietveld 408576698