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

Unified Diff: chrome/browser/sync/internal_api/sync_manager.h

Issue 7669073: [Sync] Add support for enabling session sync remotely. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DOUBLE R..ebase Created 9 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: chrome/browser/sync/internal_api/sync_manager.h
diff --git a/chrome/browser/sync/internal_api/sync_manager.h b/chrome/browser/sync/internal_api/sync_manager.h
index 14350a49748e8a1c08a4bef857406e151c76da4e..2dfe1259170ce337e09796d94877abb854762b30 100644
--- a/chrome/browser/sync/internal_api/sync_manager.h
+++ b/chrome/browser/sync/internal_api/sync_manager.h
@@ -512,8 +512,15 @@ class SyncManager {
// only be called after syncapi has been initialized.
void RefreshEncryption();
+ // Gets the set of encrypted types from the cryptographer
+ // Note: opens a transaction.
syncable::ModelTypeSet GetEncryptedDataTypes() const;
+ // Reads the nigori node to determine if any experimental types should be
+ // enabled.
+ // Note: opens a transaction.
+ bool ReceivedExperimentalTypes(syncable::ModelTypeSet* to_add) const;
+
// Uses a read-only transaction to determine if the directory being synced has
// any remaining unsynced items.
bool HasUnsyncedItems() const;
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host_unittest.cc ('k') | chrome/browser/sync/internal_api/sync_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698