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 GOOGLE_APIS_GCM_ENGINE_HEARTBEAT_MANAGER_H_ | 5 #ifndef GOOGLE_APIS_GCM_ENGINE_HEARTBEAT_MANAGER_H_ |
6 #define GOOGLE_APIS_GCM_ENGINE_HEARTBEAT_MANAGER_H_ | 6 #define GOOGLE_APIS_GCM_ENGINE_HEARTBEAT_MANAGER_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
| 10 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
11 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
12 #include "base/power_monitor/power_observer.h" | 13 #include "base/power_monitor/power_observer.h" |
13 #include "google_apis/gcm/base/gcm_export.h" | 14 #include "google_apis/gcm/base/gcm_export.h" |
14 #include "google_apis/gcm/engine/connection_factory.h" | 15 #include "google_apis/gcm/engine/connection_factory.h" |
15 | 16 |
16 namespace base { | 17 namespace base { |
17 class Timer; | 18 class Timer; |
18 } | 19 } |
19 | 20 |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 ReconnectCallback trigger_reconnect_callback_; | 124 ReconnectCallback trigger_reconnect_callback_; |
124 | 125 |
125 base::WeakPtrFactory<HeartbeatManager> weak_ptr_factory_; | 126 base::WeakPtrFactory<HeartbeatManager> weak_ptr_factory_; |
126 | 127 |
127 DISALLOW_COPY_AND_ASSIGN(HeartbeatManager); | 128 DISALLOW_COPY_AND_ASSIGN(HeartbeatManager); |
128 }; | 129 }; |
129 | 130 |
130 } // namespace gcm | 131 } // namespace gcm |
131 | 132 |
132 #endif // GOOGLE_APIS_GCM_ENGINE_HEARTBEAT_MANAGER_H_ | 133 #endif // GOOGLE_APIS_GCM_ENGINE_HEARTBEAT_MANAGER_H_ |
OLD | NEW |