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

Unified Diff: components/gcm_driver/gcm_driver_android.cc

Issue 1616113003: List message decryption failures on chrome://gcm-internals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase after CL 1619053003 Created 4 years, 11 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
« no previous file with comments | « components/gcm_driver/gcm_driver_android.h ('k') | components/gcm_driver/gcm_driver_desktop.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « components/gcm_driver/gcm_driver_android.h ('k') | components/gcm_driver/gcm_driver_desktop.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698