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

Unified Diff: components/sync_driver/sync_frontend.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 side-by-side diff with in-line comments
Download patch
Index: components/sync_driver/sync_frontend.h
diff --git a/components/sync_driver/sync_frontend.h b/components/sync_driver/sync_frontend.h
index 774a55366256619d43a930c3b78cd3dcffeadee9..3c821aa35abdcad3c41aaf3fd9d4e90ce693adea 100644
--- a/components/sync_driver/sync_frontend.h
+++ b/components/sync_driver/sync_frontend.h
@@ -134,6 +134,12 @@ class SyncFrontend {
// Called when the sync cycle returns there is an user actionable error.
virtual void OnActionableError(const syncer::SyncProtocolError& error) = 0;
+
+ // Called when the user of this device enables passphrase encryption.
+ //
+ // |nigori_state| is the updated nigori state.
Nicolas Zea 2015/06/11 17:43:07 Maybe be a bit more specific and explain that nigo
maniscalco 2015/06/15 16:49:18 Done.
+ virtual void OnLocalSetCustomPassphrase(
+ const syncer::SyncEncryptionHandler::NigoriState& nigori_state) = 0;
};
} // namespace sync_driver

Powered by Google App Engine
This is Rietveld 408576698