| Index: sync/syncable/nigori_handler.h
|
| diff --git a/sync/syncable/nigori_handler.h b/sync/syncable/nigori_handler.h
|
| index 9ea1b0ec89be7ccd803f48ec7d8ff43bc4a7cc33..c47efa9b0cf1e6156ba44e6c9cee1e11fa03b800 100644
|
| --- a/sync/syncable/nigori_handler.h
|
| +++ b/sync/syncable/nigori_handler.h
|
| @@ -35,6 +35,16 @@ class NigoriHandler {
|
| sync_pb::NigoriSpecifics* nigori,
|
| syncable::BaseTransaction* const trans) const = 0;
|
|
|
| + // Whether a keystore key needs to be requested from the sync server.
|
| + virtual bool NeedKeystoreKey(
|
| + syncable::BaseTransaction* const trans) const = 0;
|
| +
|
| + // Set the keystore key the server returned for this account.
|
| + // Returns true on success, false otherwise.
|
| + virtual bool SetKeystoreKey(
|
| + const std::string& key,
|
| + syncable::BaseTransaction* const trans) = 0;
|
| +
|
| // Returns the set of currently encrypted types.
|
| virtual ModelTypeSet GetEncryptedTypes(
|
| syncable::BaseTransaction* const trans) const = 0;
|
|
|