OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_CONNECTION_FACTORY_IMPL_H_ | 5 #ifndef GOOGLE_APIS_GCM_ENGINE_CONNECTION_FACTORY_IMPL_H_ |
6 #define GOOGLE_APIS_GCM_ENGINE_CONNECTION_FACTORY_IMPL_H_ | 6 #define GOOGLE_APIS_GCM_ENGINE_CONNECTION_FACTORY_IMPL_H_ |
7 | 7 |
8 #include "google_apis/gcm/engine/connection_factory.h" | 8 #include "google_apis/gcm/engine/connection_factory.h" |
9 | 9 |
10 #include <stddef.h> | 10 #include <stddef.h> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/weak_ptr.h" | 13 #include "base/memory/weak_ptr.h" |
14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
15 #include "google_apis/gcm/engine/connection_handler.h" | 15 #include "google_apis/gcm/engine/connection_handler.h" |
16 #include "google_apis/gcm/protocol/mcs.pb.h" | 16 #include "google_apis/gcm/protocol/mcs.pb.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/log/net_log_with_source.h" |
19 #include "net/proxy/proxy_info.h" | 20 #include "net/proxy/proxy_info.h" |
20 #include "net/proxy/proxy_service.h" | 21 #include "net/proxy/proxy_service.h" |
21 #include "net/socket/client_socket_handle.h" | 22 #include "net/socket/client_socket_handle.h" |
22 #include "url/gurl.h" | 23 #include "url/gurl.h" |
23 | 24 |
24 namespace net { | 25 namespace net { |
25 class HttpNetworkSession; | 26 class HttpNetworkSession; |
26 class NetLog; | 27 class NetLog; |
27 } | 28 } |
28 | 29 |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 ConnectionListener* listener_; | 200 ConnectionListener* listener_; |
200 | 201 |
201 base::WeakPtrFactory<ConnectionFactoryImpl> weak_ptr_factory_; | 202 base::WeakPtrFactory<ConnectionFactoryImpl> weak_ptr_factory_; |
202 | 203 |
203 DISALLOW_COPY_AND_ASSIGN(ConnectionFactoryImpl); | 204 DISALLOW_COPY_AND_ASSIGN(ConnectionFactoryImpl); |
204 }; | 205 }; |
205 | 206 |
206 } // namespace gcm | 207 } // namespace gcm |
207 | 208 |
208 #endif // GOOGLE_APIS_GCM_ENGINE_CONNECTION_FACTORY_IMPL_H_ | 209 #endif // GOOGLE_APIS_GCM_ENGINE_CONNECTION_FACTORY_IMPL_H_ |
OLD | NEW |