diff options
author | zea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-16 02:34:16 +0000 |
---|---|---|
committer | zea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-16 02:34:16 +0000 |
commit | 4cda788849ffa2942fe593d7b1e4ddd2ff8e30d6 (patch) | |
tree | 503db151113cb71fc5a26bc0c9f0d4b748f2865b /sync/internal_api/js_sync_manager_observer.h | |
parent | 10df83e1635617ef38ca9c40bdaf725e00154bb7 (diff) | |
download | chromium_src-4cda788849ffa2942fe593d7b1e4ddd2ff8e30d6.zip chromium_src-4cda788849ffa2942fe593d7b1e4ddd2ff8e30d6.tar.gz chromium_src-4cda788849ffa2942fe593d7b1e4ddd2ff8e30d6.tar.bz2 |
[Sync] Add SyncEncryptionHandler
All sync-specific encryption state (types, encrypt everything, explicit
passphrase, keys) is now tracked within the new class SyncEncryptionHandler.
It's owned by the sync manager, and unifies some of the observer logic
we previously had. In addition, it's capable of creating its own
transactions, taking us a step closer to have a nigori datatype.
In addition, we add a NigoriHandler to abstract the chrome-side of
encryption from the sync visible side of encryption.
BUG=139848
Review URL: https://chromiumcodereview.appspot.com/10827266
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151833 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/internal_api/js_sync_manager_observer.h')
-rw-r--r-- | sync/internal_api/js_sync_manager_observer.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sync/internal_api/js_sync_manager_observer.h b/sync/internal_api/js_sync_manager_observer.h index 8d0622c..be58f4a 100644 --- a/sync/internal_api/js_sync_manager_observer.h +++ b/sync/internal_api/js_sync_manager_observer.h @@ -35,16 +35,6 @@ class JsSyncManagerObserver : public SyncManager::Observer { const sessions::SyncSessionSnapshot& snapshot) OVERRIDE; virtual void OnConnectionStatusChange(ConnectionStatus status) OVERRIDE; virtual void OnUpdatedToken(const std::string& token) OVERRIDE; - virtual void OnPassphraseRequired( - PassphraseRequiredReason reason, - const sync_pb::EncryptedData& pending_keys) OVERRIDE; - virtual void OnPassphraseAccepted() OVERRIDE; - virtual void OnBootstrapTokenUpdated( - const std::string& bootstrap_token) OVERRIDE; - virtual void OnEncryptedTypesChanged( - ModelTypeSet encrypted_types, - bool encrypt_everything) OVERRIDE; - virtual void OnEncryptionComplete() OVERRIDE; virtual void OnInitializationComplete( const WeakHandle<JsBackend>& js_backend, bool success, syncer::ModelTypeSet restored_types) OVERRIDE; |