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

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: Rebase 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..dc519b7332a2ac603fe8f3156f8723d84de054a3 100644
--- a/chrome/browser/sync/internal_api/sync_manager.h
+++ b/chrome/browser/sync/internal_api/sync_manager.h
@@ -512,8 +512,14 @@ 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 session sync should be enabled.
+ // Note: opens a transaction.
+ bool ShouldEnableSessions() const;
+
// Uses a read-only transaction to determine if the directory being synced has
// any remaining unsynced items.
bool HasUnsyncedItems() const;

Powered by Google App Engine
This is Rietveld 408576698