Index: components/gcm_driver/gcm_client.h |
diff --git a/components/gcm_driver/gcm_client.h b/components/gcm_driver/gcm_client.h |
index fa4175ae661e793b104aeeb19d335d1c89f5d02a..5a24c4d597e00aedaf90dbf31f79ac1564cc864e 100644 |
--- a/components/gcm_driver/gcm_client.h |
+++ b/components/gcm_driver/gcm_client.h |
@@ -14,6 +14,7 @@ |
#include "base/memory/linked_ptr.h" |
#include "base/memory/scoped_ptr.h" |
#include "components/gcm_driver/common/gcm_messages.h" |
+#include "components/gcm_driver/crypto/gcm_encryption_provider.h" |
#include "components/gcm_driver/gcm_activity.h" |
#include "components/gcm_driver/registration_info.h" |
@@ -268,6 +269,11 @@ class GCMClient { |
const std::string& receiver_id, |
const OutgoingMessage& message) = 0; |
+ // Records a decryption failure due to |reason| for the |app_id|. |
+ virtual void RecordDecryptionFailure( |
+ const std::string& app_id, |
+ GCMEncryptionProvider::DecryptionFailure reason) = 0; |
+ |
// Enables or disables internal activity recording. |
virtual void SetRecording(bool recording) = 0; |