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

Unified Diff: components/sync/driver/data_type_manager.h

Issue 2663783002: [Sync] Split encryption state and logic out of PSS and SBHI. (Closed)
Patch Set: Self-review. Created 3 years, 11 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/data_type_manager.h
diff --git a/components/sync/driver/data_type_manager.h b/components/sync/driver/data_type_manager.h
index 91c65c58d5fc17668f32a646f79dd005371d6bf0..9454995e2e81fcd24b2acd0bb8638d7eaf9a837a 100644
--- a/components/sync/driver/data_type_manager.h
+++ b/components/sync/driver/data_type_manager.h
@@ -95,6 +95,9 @@ class DataTypeManager {
// completes the set will be updated.
virtual ModelTypeSet GetActiveDataTypes() const = 0;
+ // Whether or not we are syncing encryption keys.
+ virtual bool IsNigoriEnabled() const = 0;
+
// The current state of the data type manager.
virtual State state() const = 0;
};

Powered by Google App Engine
This is Rietveld 408576698