Index: components/gcm_driver/gcm_driver.h |
diff --git a/components/gcm_driver/gcm_driver.h b/components/gcm_driver/gcm_driver.h |
index 572c02d8b793d035901b76021e924d4dbd04f9de..b41024e2bcbe37961574f523d274d189be3f2332 100644 |
--- a/components/gcm_driver/gcm_driver.h |
+++ b/components/gcm_driver/gcm_driver.h |
@@ -267,6 +267,12 @@ class GCMDriver { |
void ClearCallbacks(); |
+ // Dispatches the OnMessage event to the app handler associated with |app_id|. |
+ // If the |message| has been encrypted, it will be asynchronously decrypted |
Michael van Ouwerkerk
2015/10/02 14:30:42
nit: This left me wondering whether it will be dis
Peter Beverloo
2015/10/02 15:01:22
Done.
|
+ // before being dispatched to the handler associated with |app_id|. |
+ void DispatchMessage(const std::string& app_id, |
+ const IncomingMessage& message); |
+ |
private: |
// Common code shared by Unregister and UnregisterWithSenderId. |
void UnregisterInternal(const std::string& app_id, |