Index: sync/util/cryptographer.h |
diff --git a/sync/util/cryptographer.h b/sync/util/cryptographer.h |
index 2dfdedccf6c212ff787919e71f9cf6c3d6924d9f..9876f83b7680522c564215928f52f05621031b17 100644 |
--- a/sync/util/cryptographer.h |
+++ b/sync/util/cryptographer.h |
@@ -176,9 +176,12 @@ class SYNC_EXPORT Cryptographer { |
// and/or has a different default key. |
bool KeybagIsStale(const sync_pb::EncryptedData& keybag) const; |
+ // Returns the name of the Nigori key currently used for encryption. |
+ std::string GetDefaultNigoriKeyName() const; |
+ |
// Returns a serialized sync_pb::NigoriKey version of current default |
// encryption key. |
- std::string GetDefaultNigoriKey() const; |
+ std::string GetDefaultNigoriKeyData() const; |
// Generates a new Nigori from |serialized_nigori_key|, and if successful |
// installs the new nigori as the default key. |