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

Unified Diff: components/gcm_driver/crypto/gcm_crypto_test_helpers.cc

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
« no previous file with comments | « no previous file | components/gcm_driver/crypto/gcm_encryption_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/gcm_driver/crypto/gcm_crypto_test_helpers.cc
diff --git a/components/gcm_driver/crypto/gcm_crypto_test_helpers.cc b/components/gcm_driver/crypto/gcm_crypto_test_helpers.cc
index 50be94932f8361ab7d10bce9572442143d8c4083..b98084e2afe293983bf64439cdc30fdb78a1e695 100644
--- a/components/gcm_driver/crypto/gcm_crypto_test_helpers.cc
+++ b/components/gcm_driver/crypto/gcm_crypto_test_helpers.cc
@@ -44,8 +44,7 @@ bool CreateEncryptedPayloadForTesting(const base::StringPiece& payload,
const size_t salt_size = GCMMessageCryptographer::kSaltSize;
crypto::RandBytes(base::WriteInto(&salt, salt_size + 1), salt_size);
- GCMMessageCryptographer cryptographer(GCMMessageCryptographer::Label::P256,
- peer_public_key, public_key,
+ GCMMessageCryptographer cryptographer(peer_public_key, public_key,
auth_secret.as_string());
size_t record_size;
« no previous file with comments | « no previous file | components/gcm_driver/crypto/gcm_encryption_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698