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

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

Issue 7655055: [Sync] Make BackendMigrator not wait for full sync cycles (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address more comments Created 9 years, 4 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/profile_sync_service.h
diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h
index 0af7081470d24f4fc938ef66497ecb372cc6fb5c..5e1b7666ae0bcc8f9603e847e12b84e44197a26b 100644
--- a/chrome/browser/sync/profile_sync_service.h
+++ b/chrome/browser/sync/profile_sync_service.h
@@ -352,7 +352,7 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
// UnrecoverableErrorHandler implementation.
virtual void OnUnrecoverableError(
const tracked_objects::Location& from_here,
- const std::string& message);
+ const std::string& message) OVERRIDE;
// The functions below (until ActivateDataType()) should only be
// called if sync_initialized() is true.
@@ -378,9 +378,8 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
// Logs the current unsynced items in the sync database. Useful for debugging.
void LogUnsyncedItems(int level) const;
- // Returns whether or not the sync service is reconfiguring due
- // to server-initiated resynchronization.
- bool HasPendingBackendMigration() const;
+ // Used by ProfileSyncServiceHarness. May return NULL.
+ browser_sync::BackendMigrator* GetBackendMigratorForTest();
// Get the current routing information for all enabled model types.
// If a model type is not enabled (that is, if the syncer should not
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_registrar_unittest.cc ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698