| OLD | NEW | 
|---|
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #ifndef COMPONENTS_GCM_DRIVER_GCM_DRIVER_DESKTOP_H_ | 5 #ifndef COMPONENTS_GCM_DRIVER_GCM_DRIVER_DESKTOP_H_ | 
| 6 #define COMPONENTS_GCM_DRIVER_GCM_DRIVER_DESKTOP_H_ | 6 #define COMPONENTS_GCM_DRIVER_GCM_DRIVER_DESKTOP_H_ | 
| 7 | 7 | 
| 8 #include <map> | 8 #include <map> | 
| 9 #include <memory> | 9 #include <memory> | 
| 10 #include <string> | 10 #include <string> | 
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 164                        const IncomingMessage& message); | 164                        const IncomingMessage& message); | 
| 165   void MessagesDeleted(const std::string& app_id); | 165   void MessagesDeleted(const std::string& app_id); | 
| 166   void MessageSendError(const std::string& app_id, | 166   void MessageSendError(const std::string& app_id, | 
| 167                         const GCMClient::SendErrorDetails& send_error_details); | 167                         const GCMClient::SendErrorDetails& send_error_details); | 
| 168   void SendAcknowledged(const std::string& app_id, | 168   void SendAcknowledged(const std::string& app_id, | 
| 169                         const std::string& message_id); | 169                         const std::string& message_id); | 
| 170   void GCMClientReady(const std::vector<AccountMapping>& account_mappings, | 170   void GCMClientReady(const std::vector<AccountMapping>& account_mappings, | 
| 171                       const base::Time& last_token_fetch_time); | 171                       const base::Time& last_token_fetch_time); | 
| 172   void OnConnected(const net::IPEndPoint& ip_endpoint); | 172   void OnConnected(const net::IPEndPoint& ip_endpoint); | 
| 173   void OnDisconnected(); | 173   void OnDisconnected(); | 
|  | 174   void OnStoreReset(); | 
| 174 | 175 | 
| 175   void GetGCMStatisticsFinished(const GCMClient::GCMStatistics& stats); | 176   void GetGCMStatisticsFinished(const GCMClient::GCMStatistics& stats); | 
| 176   void GetInstanceIDDataFinished(const std::string& app_id, | 177   void GetInstanceIDDataFinished(const std::string& app_id, | 
| 177                                  const std::string& instance_id, | 178                                  const std::string& instance_id, | 
| 178                                  const std::string& extra_data); | 179                                  const std::string& extra_data); | 
| 179   void GetTokenFinished(const std::string& app_id, | 180   void GetTokenFinished(const std::string& app_id, | 
| 180                         const std::string& authorized_entity, | 181                         const std::string& authorized_entity, | 
| 181                         const std::string& scope, | 182                         const std::string& scope, | 
| 182                         const std::string& token, | 183                         const std::string& token, | 
| 183                         GCMClient::Result result); | 184                         GCMClient::Result result); | 
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 239 | 240 | 
| 240   // Used to pass a weak pointer to the IO worker. | 241   // Used to pass a weak pointer to the IO worker. | 
| 241   base::WeakPtrFactory<GCMDriverDesktop> weak_ptr_factory_; | 242   base::WeakPtrFactory<GCMDriverDesktop> weak_ptr_factory_; | 
| 242 | 243 | 
| 243   DISALLOW_COPY_AND_ASSIGN(GCMDriverDesktop); | 244   DISALLOW_COPY_AND_ASSIGN(GCMDriverDesktop); | 
| 244 }; | 245 }; | 
| 245 | 246 | 
| 246 }  // namespace gcm | 247 }  // namespace gcm | 
| 247 | 248 | 
| 248 #endif  // COMPONENTS_GCM_DRIVER_GCM_DRIVER_DESKTOP_H_ | 249 #endif  // COMPONENTS_GCM_DRIVER_GCM_DRIVER_DESKTOP_H_ | 
| OLD | NEW | 
|---|