Pass the push message id to the decryption failure event

Bug: 958773
Change-Id: If88fdf21e6fc7f8209fd771d173ade9e4c32664e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1602726
Commit-Queue: Rayan Kanso <[email protected]>
Auto-Submit: Rayan Kanso <[email protected]>
Reviewed-by: Peter Beverloo <[email protected]>
Cr-Commit-Position: refs/heads/master@{#658179}
diff --git a/components/gcm_driver/gcm_driver.cc b/components/gcm_driver/gcm_driver.cc
index 526f771..f3cf956 100644
--- a/components/gcm_driver/gcm_driver.cc
+++ b/components/gcm_driver/gcm_driver.cc
@@ -300,7 +300,8 @@
       GCMAppHandler* handler = GetAppHandler(app_id);
       if (handler) {
         handler->OnMessageDecryptionFailed(
-            app_id, ToGCMDecryptionResultDetailsString(result));
+            app_id, message.message_id,
+            ToGCMDecryptionResultDetailsString(result));
       }
       return;
     }