Index: components/gcm_driver/gcm_driver_android.cc |
diff --git a/components/gcm_driver/gcm_driver_android.cc b/components/gcm_driver/gcm_driver_android.cc |
index 0d67810c0c3a76127a8c30eebe82bea014c83378..adbc1b6df969aedd92b11dd63a4ae27b8ef2a2d0 100644 |
--- a/components/gcm_driver/gcm_driver_android.cc |
+++ b/components/gcm_driver/gcm_driver_android.cc |
@@ -240,7 +240,8 @@ void GCMDriverAndroid::UnregisterImpl(const std::string& app_id) { |
} |
void GCMDriverAndroid::UnregisterWithSenderIdImpl( |
- const std::string& app_id, const std::string& sender_id) { |
+ const std::string& app_id, |
+ const std::string& sender_id) { |
JNIEnv* env = AttachCurrentThread(); |
recorder_.RecordUnregistrationSent(app_id); |
@@ -256,4 +257,10 @@ void GCMDriverAndroid::SendImpl(const std::string& app_id, |
NOTIMPLEMENTED(); |
} |
+void GCMDriverAndroid::RecordDecryptionFailure( |
+ const std::string& app_id, |
+ GCMEncryptionProvider::DecryptionFailure reason) { |
+ recorder_.RecordDecryptionFailure(app_id, reason); |
+} |
+ |
} // namespace gcm |