Index: components/gcm_driver/gcm_driver.h |
diff --git a/components/gcm_driver/gcm_driver.h b/components/gcm_driver/gcm_driver.h |
index c61cbb3b5d8c6875a97c2b5982c9b03f61d5d5c7..1b79e2fd51f2f3439e465f3cb5528ef9a6765007 100644 |
--- a/components/gcm_driver/gcm_driver.h |
+++ b/components/gcm_driver/gcm_driver.h |
@@ -256,6 +256,11 @@ class GCMDriver { |
const std::string& receiver_id, |
const OutgoingMessage& message) = 0; |
+ // Platform-specific implementation of recording message decryption failures. |
+ virtual void RecordDecryptionFailure( |
+ const std::string& app_id, |
+ GCMEncryptionProvider::DecryptionFailure reason) = 0; |
+ |
// Runs the Register callback. |
void RegisterFinished(const std::string& app_id, |
const std::string& registration_id, |