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

Unified Diff: components/gcm_driver/crypto/gcm_message_cryptographer.h

Issue 2621103002: Remove GCMMessageCryptographer::Label (Closed)
Patch Set: Remove GCMMessageCryptographer::Label Created 3 years, 11 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: components/gcm_driver/crypto/gcm_message_cryptographer.h
diff --git a/components/gcm_driver/crypto/gcm_message_cryptographer.h b/components/gcm_driver/crypto/gcm_message_cryptographer.h
index e0a143113ded14c721209c3e6243dc06cbdd0921..5aaf083cc27eec05cd3afddd6623a63e29897de7 100644
--- a/components/gcm_driver/crypto/gcm_message_cryptographer.h
+++ b/components/gcm_driver/crypto/gcm_message_cryptographer.h
@@ -37,15 +37,9 @@ class GCMMessageCryptographer {
// unique content encryption key for a given message.
static const size_t kSaltSize;
- // Label of the encryption group used to calculate the shared secret.
- enum class Label {
- P256
- };
-
- // Creates a new cryptographer with |label|, identifying the group used for
- // the key agreement, and the public keys of both the recipient and sender.
- GCMMessageCryptographer(Label label,
- const base::StringPiece& recipient_public_key,
+ // Creates a new cryptographer, identifying the group used for the key
+ // agreement, and the public keys of both the recipient and sender.
+ GCMMessageCryptographer(const base::StringPiece& recipient_public_key,
const base::StringPiece& sender_public_key,
const std::string& auth_secret);

Powered by Google App Engine
This is Rietveld 408576698