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_GCM_NETWORK_CHANNEL_H_ | 5 #ifndef COMPONENTS_INVALIDATION_GCM_NETWORK_CHANNEL_H_ |
6 #define COMPONENTS_INVALIDATION_GCM_NETWORK_CHANNEL_H_ | 6 #define COMPONENTS_INVALIDATION_GCM_NETWORK_CHANNEL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/threading/non_thread_safe.h" | 13 #include "base/threading/non_thread_safe.h" |
| 14 #include "components/invalidation/base/invalidation_export.h" |
14 #include "components/invalidation/gcm_network_channel_delegate.h" | 15 #include "components/invalidation/gcm_network_channel_delegate.h" |
15 #include "components/invalidation/invalidation_export.h" | |
16 #include "components/invalidation/sync_system_resources.h" | 16 #include "components/invalidation/sync_system_resources.h" |
17 #include "net/base/backoff_entry.h" | 17 #include "net/base/backoff_entry.h" |
18 #include "net/base/network_change_notifier.h" | 18 #include "net/base/network_change_notifier.h" |
19 #include "net/url_request/url_fetcher_delegate.h" | 19 #include "net/url_request/url_fetcher_delegate.h" |
20 #include "url/gurl.h" | 20 #include "url/gurl.h" |
21 | 21 |
22 class GoogleServiceAuthError; | 22 class GoogleServiceAuthError; |
23 | 23 |
24 namespace syncer { | 24 namespace syncer { |
25 class GCMNetworkChannel; | 25 class GCMNetworkChannel; |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 GCMNetworkChannelDiagnostic diagnostic_info_; | 133 GCMNetworkChannelDiagnostic diagnostic_info_; |
134 | 134 |
135 base::WeakPtrFactory<GCMNetworkChannel> weak_factory_; | 135 base::WeakPtrFactory<GCMNetworkChannel> weak_factory_; |
136 | 136 |
137 DISALLOW_COPY_AND_ASSIGN(GCMNetworkChannel); | 137 DISALLOW_COPY_AND_ASSIGN(GCMNetworkChannel); |
138 }; | 138 }; |
139 | 139 |
140 } // namespace syncer | 140 } // namespace syncer |
141 | 141 |
142 #endif // COMPONENTS_INVALIDATION_GCM_NETWORK_CHANNEL_H_ | 142 #endif // COMPONENTS_INVALIDATION_GCM_NETWORK_CHANNEL_H_ |
OLD | NEW |