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

Unified Diff: chrome/browser/sync/glue/sync_backend_host_core.cc

Issue 1177853002: [Sync] Add ability to save/restore Nigori to SyncEncryptionHandlerImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename in backend as well 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/glue/sync_backend_host_core.cc
diff --git a/chrome/browser/sync/glue/sync_backend_host_core.cc b/chrome/browser/sync/glue/sync_backend_host_core.cc
index 7c077cb3dbf78b0bdafd74aaf958384623745d9a..4589f7cbfb2571ffe709fc3456576f02a404bfb0 100644
--- a/chrome/browser/sync/glue/sync_backend_host_core.cc
+++ b/chrome/browser/sync/glue/sync_backend_host_core.cc
@@ -299,6 +299,14 @@ void SyncBackendHostCore::OnPassphraseTypeChanged(
type, passphrase_time);
}
+void SyncBackendHostCore::OnLocalSetPassphraseEncryption(
+ const syncer::SyncEncryptionHandler::NigoriState& nigori_state) {
+ host_.Call(
+ FROM_HERE,
+ &SyncBackendHostImpl::HandleLocalSetPassphraseEncryptionOnFrontendLoop,
+ nigori_state);
+}
+
void SyncBackendHostCore::OnCommitCountersUpdated(
syncer::ModelType type,
const syncer::CommitCounters& counters) {
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host_core.h ('k') | chrome/browser/sync/glue/sync_backend_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698