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_INVALIDATION_IMPL_GCM_INVALIDATION_BRIDGE_H_ | 5 #ifndef COMPONENTS_INVALIDATION_IMPL_GCM_INVALIDATION_BRIDGE_H_ |
6 #define COMPONENTS_INVALIDATION_IMPL_GCM_INVALIDATION_BRIDGE_H_ | 6 #define COMPONENTS_INVALIDATION_IMPL_GCM_INVALIDATION_BRIDGE_H_ |
7 | 7 |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" |
9 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
11 #include "base/threading/non_thread_safe.h" | 12 #include "base/threading/non_thread_safe.h" |
12 #include "components/gcm_driver/common/gcm_messages.h" | 13 #include "components/gcm_driver/common/gcm_messages.h" |
13 #include "components/gcm_driver/gcm_app_handler.h" | 14 #include "components/gcm_driver/gcm_app_handler.h" |
14 #include "components/gcm_driver/gcm_client.h" | 15 #include "components/gcm_driver/gcm_client.h" |
15 #include "components/gcm_driver/gcm_connection_observer.h" | 16 #include "components/gcm_driver/gcm_connection_observer.h" |
16 #include "components/invalidation/impl/gcm_network_channel_delegate.h" | 17 #include "components/invalidation/impl/gcm_network_channel_delegate.h" |
17 #include "google_apis/gaia/oauth2_token_service.h" | 18 #include "google_apis/gaia/oauth2_token_service.h" |
18 | 19 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 bool subscribed_for_incoming_messages_; | 106 bool subscribed_for_incoming_messages_; |
106 | 107 |
107 base::WeakPtrFactory<GCMInvalidationBridge> weak_factory_; | 108 base::WeakPtrFactory<GCMInvalidationBridge> weak_factory_; |
108 | 109 |
109 DISALLOW_COPY_AND_ASSIGN(GCMInvalidationBridge); | 110 DISALLOW_COPY_AND_ASSIGN(GCMInvalidationBridge); |
110 }; | 111 }; |
111 | 112 |
112 } // namespace invalidation | 113 } // namespace invalidation |
113 | 114 |
114 #endif // COMPONENTS_INVALIDATION_IMPL_GCM_INVALIDATION_BRIDGE_H_ | 115 #endif // COMPONENTS_INVALIDATION_IMPL_GCM_INVALIDATION_BRIDGE_H_ |
OLD | NEW |