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

Unified Diff: sync/internal_api/public/sync_manager.h

Issue 10825137: FYI: Control Data + Per-Device Metadata (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add PER_USER_METADATA, refactor some encryption code Created 8 years, 4 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: sync/internal_api/public/sync_manager.h
diff --git a/sync/internal_api/public/sync_manager.h b/sync/internal_api/public/sync_manager.h
index 01d919c16c2260cc31cc068ad1bd14ef2457963c..c6c585f4e7679067502b234ab757338d99573551 100644
--- a/sync/internal_api/public/sync_manager.h
+++ b/sync/internal_api/public/sync_manager.h
@@ -499,20 +499,8 @@ class SyncManager {
// May be called from any thread.
virtual UserShare* GetUserShare() = 0;
- // Inform the cryptographer of the most recent passphrase and set of
- // encrypted types (from nigori node), then ensure all data that
- // needs encryption is encrypted with the appropriate passphrase.
- //
- // May trigger OnPassphraseRequired(). Otherwise, it will trigger
- // OnEncryptedTypesChanged() if necessary (see comments for
- // OnEncryptedTypesChanged()), and then OnEncryptionComplete().
- //
- // Also updates or adds device information to the nigori node.
- //
- // Note: opens a transaction, so must only be called after syncapi
- // has been initialized.
- virtual void RefreshNigori(const std::string& chrome_version,
- const base::Closure& done_callback) = 0;
+ virtual void InitialProcessMetadata(const std::string& chrome_version,
+ const base::Closure& done_callback) = 0;
// Enable encryption of all sync data. Once enabled, it can never be
// disabled without clearing the server data.

Powered by Google App Engine
This is Rietveld 408576698