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

Unified Diff: sync/util/cryptographer.h

Issue 442053002: sync: Add non-blocking type encryption (retry) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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
« no previous file with comments | « sync/test/engine/mock_model_type_sync_worker.cc ('k') | sync/util/cryptographer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « sync/test/engine/mock_model_type_sync_worker.cc ('k') | sync/util/cryptographer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698