summaryrefslogtreecommitdiffstats
path: root/components/gcm_driver/gcm_app_handler.h
diff options
context:
space:
mode:
authormvanouwerkerk <mvanouwerkerk@chromium.org>2015-07-13 04:04:06 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-13 11:04:50 +0000
commitf8633deb9da835a863a5f77bdc1c52ee701d8ae2 (patch)
treeff01f7e933c522cfd797efb19dc3c4816db995ec /components/gcm_driver/gcm_app_handler.h
parentae428c2d3e3db2875b7c089db367d7f0caf077ac (diff)
downloadchromium_src-f8633deb9da835a863a5f77bdc1c52ee701d8ae2.zip
chromium_src-f8633deb9da835a863a5f77bdc1c52ee701d8ae2.tar.gz
chromium_src-f8633deb9da835a863a5f77bdc1c52ee701d8ae2.tar.bz2
GCM: refactor IncomingMessaging and OutgoingMessage.
This will allow them to be used in: chrome/common/service_messages.h * Make them top level classes. * Move IncomingMessage and OutgoingMessage to their own file * Depend on this through the gcm_driver_common component * Export them BUG=402456 Design document: https://goo.gl/LRdGTm Review URL: https://codereview.chromium.org/1210073006 Cr-Commit-Position: refs/heads/master@{#338494}
Diffstat (limited to 'components/gcm_driver/gcm_app_handler.h')
-rw-r--r--components/gcm_driver/gcm_app_handler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/gcm_driver/gcm_app_handler.h b/components/gcm_driver/gcm_app_handler.h
index 4a841f3..a77990a 100644
--- a/components/gcm_driver/gcm_app_handler.h
+++ b/components/gcm_driver/gcm_app_handler.h
@@ -26,7 +26,7 @@ class GCMAppHandler {
// Called when a GCM message has been received.
virtual void OnMessage(const std::string& app_id,
- const GCMClient::IncomingMessage& message) = 0;
+ const IncomingMessage& message) = 0;
// Called when some GCM messages have been deleted from the server.
virtual void OnMessagesDeleted(const std::string& app_id) = 0;