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

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

Issue 6380004: [Sync] Tidy up SyncBackendHost interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix windows compile Created 9 years, 11 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 9b2e98d30a994c042f180ac6270f0ef935e36e2c..4cfd708b10e3f6a817408c381d5cb91f7693de25 100644
--- a/chrome/browser/sync/profile_sync_service.h
+++ b/chrome/browser/sync/profile_sync_service.h
@@ -185,6 +185,8 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
virtual void OnClearServerDataFailed();
virtual void OnClearServerDataTimeout();
virtual void OnClearServerDataSucceeded();
+ virtual void OnPassphraseRequired(bool for_decryption);
+ virtual void OnPassphraseAccepted();
// Called when a user enters credentials through UI.
virtual void OnUserSubmittedAuth(const std::string& username,
@@ -465,6 +467,8 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
// Sets the last synced time to the current time.
void UpdateLastSyncedTime();
+ void NotifyObservers();
+
static const char* GetPrefNameForDataType(syncable::ModelType data_type);
// Time at which we begin an attempt a GAIA authorization.

Powered by Google App Engine
This is Rietveld 408576698