| 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_CLIENT_H_ | 5 #ifndef COMPONENTS_GCM_DRIVER_GCM_CLIENT_H_ |
| 6 #define COMPONENTS_GCM_DRIVER_GCM_CLIENT_H_ | 6 #define COMPONENTS_GCM_DRIVER_GCM_CLIENT_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <map> | 10 #include <map> |
| 11 #include <memory> | 11 #include <memory> |
| 12 #include <string> | 12 #include <string> |
| 13 #include <vector> | 13 #include <vector> |
| 14 | 14 |
| 15 #include "base/memory/linked_ptr.h" | 15 #include "base/memory/linked_ptr.h" |
| 16 #include "components/gcm_driver/common/gcm_messages.h" | 16 #include "components/gcm_driver/common/gcm_messages.h" |
| 17 #include "components/gcm_driver/crypto/gcm_encryption_provider.h" | 17 #include "components/gcm_driver/crypto/gcm_encryption_provider.h" |
| 18 #include "components/gcm_driver/gcm_activity.h" | 18 #include "components/gcm_driver/gcm_activity.h" |
| 19 #include "components/gcm_driver/registration_info.h" | 19 #include "components/gcm_driver/registration_info.h" |
| 20 | 20 |
| 21 template <class T> class scoped_refptr; | 21 template <class T> class scoped_refptr; |
| 22 | 22 |
| 23 class GURL; | |
| 24 | |
| 25 namespace base { | 23 namespace base { |
| 26 class FilePath; | 24 class FilePath; |
| 27 class SequencedTaskRunner; | 25 class SequencedTaskRunner; |
| 28 class Timer; | 26 class Timer; |
| 29 } | 27 } |
| 30 | 28 |
| 31 namespace net { | 29 namespace net { |
| 32 class IPEndPoint; | 30 class IPEndPoint; |
| 33 class URLRequestContextGetter; | 31 class URLRequestContextGetter; |
| 34 } | 32 } |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 // to be set, and allows that component to later revoke the setting. It should | 328 // to be set, and allows that component to later revoke the setting. It should |
| 331 // be unique. | 329 // be unique. |
| 332 virtual void AddHeartbeatInterval(const std::string& scope, | 330 virtual void AddHeartbeatInterval(const std::string& scope, |
| 333 int interval_ms) = 0; | 331 int interval_ms) = 0; |
| 334 virtual void RemoveHeartbeatInterval(const std::string& scope) = 0; | 332 virtual void RemoveHeartbeatInterval(const std::string& scope) = 0; |
| 335 }; | 333 }; |
| 336 | 334 |
| 337 } // namespace gcm | 335 } // namespace gcm |
| 338 | 336 |
| 339 #endif // COMPONENTS_GCM_DRIVER_GCM_CLIENT_H_ | 337 #endif // COMPONENTS_GCM_DRIVER_GCM_CLIENT_H_ |
| OLD | NEW |