Index: components/gcm_driver/gcm_driver_desktop.cc |
diff --git a/components/gcm_driver/gcm_driver_desktop.cc b/components/gcm_driver/gcm_driver_desktop.cc |
index d57aa63faeec17e91dbb64944a1635c9568476a6..64224342f1650e456ebaf47cf4a1176250d97c0a 100644 |
--- a/components/gcm_driver/gcm_driver_desktop.cc |
+++ b/components/gcm_driver/gcm_driver_desktop.cc |
@@ -746,8 +746,9 @@ void GCMDriverDesktop::SendFinished(const std::string& app_id, |
callback.Run(message_id, result); |
} |
-void GCMDriverDesktop::MessageReceived(const std::string& app_id, |
- GCMClient::IncomingMessage message) { |
+void GCMDriverDesktop::MessageReceived( |
+ const std::string& app_id, |
+ const GCMClient::IncomingMessage& message) { |
DCHECK(ui_thread_->RunsTasksOnCurrentThread()); |
// Drop the event if signed out. |
@@ -790,7 +791,7 @@ void GCMDriverDesktop::GCMClientReady() { |
} |
void GCMDriverDesktop::GetGCMStatisticsFinished( |
- GCMClient::GCMStatistics stats) { |
+ const GCMClient::GCMStatistics& stats) { |
DCHECK(ui_thread_->RunsTasksOnCurrentThread()); |
// Normally request_gcm_statistics_callback_ would not be null. |