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

Unified Diff: sync/util/cryptographer.h

Issue 452283003: sync: Finish non-blocking type encryption support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More cryptographer testing 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/simple_cryptographer_provider.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 9876f83b7680522c564215928f52f05621031b17..530995cb05d7067be10557e1ca50ab6a312b3535 100644
--- a/sync/util/cryptographer.h
+++ b/sync/util/cryptographer.h
@@ -51,6 +51,7 @@ class SYNC_EXPORT Cryptographer {
public:
// Does not take ownership of |encryptor|.
explicit Cryptographer(Encryptor* encryptor);
+ explicit Cryptographer(const Cryptographer& other);
~Cryptographer();
// |restored_bootstrap_token| can be provided via this method to bootstrap
@@ -206,13 +207,14 @@ class SYNC_EXPORT Cryptographer {
// The Nigoris we know about, mapped by key name.
NigoriMap nigoris_;
+
// The key name associated with the default nigori. If non-empty, must
// correspond to a nigori within |nigoris_|.
std::string default_nigori_name_;
scoped_ptr<sync_pb::EncryptedData> pending_keys_;
- DISALLOW_COPY_AND_ASSIGN(Cryptographer);
+ DISALLOW_ASSIGN(Cryptographer);
};
} // namespace syncer
« no previous file with comments | « sync/test/engine/simple_cryptographer_provider.cc ('k') | sync/util/cryptographer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698