Index: components/sync/syncable/nigori_handler.h |
diff --git a/components/sync/syncable/nigori_handler.h b/components/sync/syncable/nigori_handler.h |
index 2f9682cb06f9ab92b6f8d442ebc6b3af302eaf12..6baa0cca058c596fc9fd8056019ef0917ea4a1b5 100644 |
--- a/components/sync/syncable/nigori_handler.h |
+++ b/components/sync/syncable/nigori_handler.h |
@@ -21,6 +21,9 @@ class NigoriSpecifics; |
} |
namespace syncer { |
+ |
+enum class PassphraseType; |
+ |
namespace syncable { |
class BaseTransaction; |
@@ -56,6 +59,10 @@ class NigoriHandler { |
// Returns the set of currently encrypted types. |
virtual ModelTypeSet GetEncryptedTypes( |
syncable::BaseTransaction* const trans) const = 0; |
+ |
+ // Returns current value for the passphrase type. |
+ virtual PassphraseType GetPassphraseType( |
+ syncable::BaseTransaction* const trans) const = 0; |
}; |
} // namespace syncable |