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

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

Issue 1446163002: Rename Encryption-Key to Crypto-Key, "key" parameter to "aesgcm128". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one more rename Created 5 years, 1 month 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_encryption_provider.h
diff --git a/components/gcm_driver/crypto/gcm_encryption_provider.h b/components/gcm_driver/crypto/gcm_encryption_provider.h
index 50772802ac0e3ea71ce0c4bca27acd5115ec7982..2e7f81b270810ea949c49d5ed6e251090e46f7ea 100644
--- a/components/gcm_driver/crypto/gcm_encryption_provider.h
+++ b/components/gcm_driver/crypto/gcm_encryption_provider.h
@@ -41,13 +41,13 @@ class GCMEncryptionProvider {
// The contents of the Encryption HTTP header could not be parsed.
DECRYPTION_FAILURE_INVALID_ENCRYPTION_HEADER,
- // The contents of the Encryption-Key HTTP header could not be parsed.
- DECRYPTION_FAILURE_INVALID_ENCRYPTION_KEY_HEADER,
+ // The contents of the Crypto-Key HTTP header could not be parsed.
+ DECRYPTION_FAILURE_INVALID_CRYPTO_KEY_HEADER,
// No public/private key-pair was associated with the app_id.
DECRYPTION_FAILURE_NO_KEYS,
- // The public key provided in the Encryption-Key header is invalid.
+ // The public key provided in the Crypto-Key header is invalid.
DECRYPTION_FAILURE_INVALID_PUBLIC_KEY,
// The payload could not be decrypted as AES-128-GCM.

Powered by Google App Engine
This is Rietveld 408576698