summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/internal_api/sync_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/sync/internal_api/sync_manager.h')
-rw-r--r--chrome/browser/sync/internal_api/sync_manager.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/sync/internal_api/sync_manager.h b/chrome/browser/sync/internal_api/sync_manager.h
index 14350a4..2dfe125 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;