| 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..cb5eae24255b0c0810e7ed4337c4f96563199b94 100644
|
| --- a/components/gcm_driver/gcm_driver.h
|
| +++ b/components/gcm_driver/gcm_driver.h
|
| @@ -267,6 +267,13 @@ class GCMDriver {
|
|
|
| void ClearCallbacks();
|
|
|
| + // Dispatches the OnMessage event to the app handler associated with |app_id|.
|
| + // If |message| has been encrypted, it will be decrypted asynchronously and
|
| + // dispatched when the decryption operation was successful. Otherwise, the
|
| + // |message| will be dispatched immediately to the handler for |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,
|
|
|