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

Unified Diff: sync/util/cryptographer.h

Issue 423193002: sync: Add non-blocking type encryption support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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: sync/util/cryptographer.h
diff --git a/sync/util/cryptographer.h b/sync/util/cryptographer.h
index 2dfdedccf6c212ff787919e71f9cf6c3d6924d9f..fc95aea64817754c6128a28052bdea9e424cb7eb 100644
--- a/sync/util/cryptographer.h
+++ b/sync/util/cryptographer.h
@@ -176,6 +176,9 @@ 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 GetDefaultKeyName() const;
stanisc 2014/07/30 00:30:05 Consider disambiguating this function from the one
rlarocque 2014/07/30 21:56:01 Would renaming this function to GetDefaultNigoriKe
stanisc 2014/07/30 22:20:55 I guess so. Call this one GetDefaultNigoriKeyName
rlarocque 2014/07/30 22:28:47 Done.
+
// Returns a serialized sync_pb::NigoriKey version of current default
// encryption key.
std::string GetDefaultNigoriKey() const;

Powered by Google App Engine
This is Rietveld 408576698