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

Side by Side Diff: chrome/browser/sync/glue/sync_backend_host_core.h

Issue 1177853002: [Sync] Add ability to save/restore Nigori to SyncEncryptionHandlerImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_CORE_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_CORE_H_
6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_CORE_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_CORE_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 9
10 #include "base/timer/timer.h" 10 #include "base/timer/timer.h"
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 void OnPassphraseAccepted() override; 108 void OnPassphraseAccepted() override;
109 void OnBootstrapTokenUpdated(const std::string& bootstrap_token, 109 void OnBootstrapTokenUpdated(const std::string& bootstrap_token,
110 syncer::BootstrapTokenType type) override; 110 syncer::BootstrapTokenType type) override;
111 void OnEncryptedTypesChanged(syncer::ModelTypeSet encrypted_types, 111 void OnEncryptedTypesChanged(syncer::ModelTypeSet encrypted_types,
112 bool encrypt_everything) override; 112 bool encrypt_everything) override;
113 void OnEncryptionComplete() override; 113 void OnEncryptionComplete() override;
114 void OnCryptographerStateChanged( 114 void OnCryptographerStateChanged(
115 syncer::Cryptographer* cryptographer) override; 115 syncer::Cryptographer* cryptographer) override;
116 void OnPassphraseTypeChanged(syncer::PassphraseType type, 116 void OnPassphraseTypeChanged(syncer::PassphraseType type,
117 base::Time passphrase_time) override; 117 base::Time passphrase_time) override;
118 void OnLocalSetCustomPassphrase(
119 const syncer::SyncEncryptionHandler::NigoriState& nigori_state) override;
118 120
119 // TypeDebugInfoObserver implementation 121 // TypeDebugInfoObserver implementation
120 void OnCommitCountersUpdated(syncer::ModelType type, 122 void OnCommitCountersUpdated(syncer::ModelType type,
121 const syncer::CommitCounters& counters) override; 123 const syncer::CommitCounters& counters) override;
122 void OnUpdateCountersUpdated(syncer::ModelType type, 124 void OnUpdateCountersUpdated(syncer::ModelType type,
123 const syncer::UpdateCounters& counters) override; 125 const syncer::UpdateCounters& counters) override;
124 void OnStatusCountersUpdated(syncer::ModelType type, 126 void OnStatusCountersUpdated(syncer::ModelType type,
125 const syncer::StatusCounters& counters) override; 127 const syncer::StatusCounters& counters) override;
126 128
127 // Forwards an invalidation state change to the sync manager. 129 // Forwards an invalidation state change to the sync manager.
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 bool forward_type_info_; 301 bool forward_type_info_;
300 302
301 base::WeakPtrFactory<SyncBackendHostCore> weak_ptr_factory_; 303 base::WeakPtrFactory<SyncBackendHostCore> weak_ptr_factory_;
302 304
303 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostCore); 305 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostCore);
304 }; 306 };
305 307
306 } // namespace browser_sync 308 } // namespace browser_sync
307 309
308 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_CORE_H_ 310 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_CORE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync/glue/sync_backend_host_core.cc » ('j') | chrome/browser/sync/profile_sync_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698