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

Unified Diff: components/gcm_driver/gcm_driver_android.cc

Issue 1243563002: Teach the GCM Driver how to decrypt incoming messages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gcm-push-keys
Patch Set: Created 5 years, 5 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
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 a19405a5c861da489bd57c0f25cdb57663455bd0..a53ab4ea1785f4a2842911adc676013321cc54bf 100644
--- a/components/gcm_driver/gcm_driver_android.cc
+++ b/components/gcm_driver/gcm_driver_android.cc
@@ -79,7 +79,7 @@ void GCMDriverAndroid::OnMessageReceived(JNIEnv* env,
message.data[data_keys_and_values[i]] = data_keys_and_values[i+1];
}
- GetAppHandler(app_id)->OnMessage(app_id, message);
+ DispatchMessage(app_id, message);
}
void GCMDriverAndroid::OnMessagesDeleted(JNIEnv* env,

Powered by Google App Engine
This is Rietveld 408576698