Chromium Code Reviews| 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..f4fa55e8e28a298e3f9dcd9205479381c8b27194 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 forthe key |
|
johnme
2017/01/10 18:10:52
s/forthe/for the/
Peter Beverloo
2017/01/10 18:11:52
Done.
|
| + // 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); |