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

Unified Diff: components/gcm_driver/gcm_stats_recorder_impl.cc

Issue 2892033002: Enable support for draft-ietf-webpush-encryption-08 (Closed)
Patch Set: Enable support for draft-ietf-webpush-encryption-08 Created 3 years, 7 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/gcm_stats_recorder_impl.cc
diff --git a/components/gcm_driver/gcm_stats_recorder_impl.cc b/components/gcm_driver/gcm_stats_recorder_impl.cc
index 721e85a39f3da41b6f0c7615d0b0de60bf8ad382..14544a9f5d24c7b6abf4fce2fc0d1e230e7f0b75 100644
--- a/components/gcm_driver/gcm_stats_recorder_impl.cc
+++ b/components/gcm_driver/gcm_stats_recorder_impl.cc
@@ -191,7 +191,10 @@ void GCMStatsRecorderImpl::RecordDecryptionFailure(
const std::string& app_id,
GCMEncryptionProvider::DecryptionResult result) {
DCHECK_NE(result, GCMEncryptionProvider::DECRYPTION_RESULT_UNENCRYPTED);
- DCHECK_NE(result, GCMEncryptionProvider::DECRYPTION_RESULT_DECRYPTED);
+ DCHECK_NE(result,
+ GCMEncryptionProvider::DECRYPTION_RESULT_DECRYPTED_DRAFT_03);
+ DCHECK_NE(result,
+ GCMEncryptionProvider::DECRYPTION_RESULT_DECRYPTED_DRAFT_08);
if (!is_recording_)
return;

Powered by Google App Engine
This is Rietveld 408576698