Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Side by Side Diff: google_apis/gcm/engine/connection_factory_impl.h

Issue 2554863002: Cleanup remaining class/struct fwd declarations (Closed)
Patch Set: Style fixes Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « google_apis/gcm/base/mcs_util.h ('k') | google_apis/gcm/engine/connection_handler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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>
(...skipping 12 matching lines...) Expand all
23 #include "net/socket/client_socket_handle.h" 23 #include "net/socket/client_socket_handle.h"
24 #include "url/gurl.h" 24 #include "url/gurl.h"
25 25
26 namespace net { 26 namespace net {
27 class HttpNetworkSession; 27 class HttpNetworkSession;
28 class NetLog; 28 class NetLog;
29 } 29 }
30 30
31 namespace gcm { 31 namespace gcm {
32 32
33 class ConnectionHandlerImpl;
34 class GCMStatsRecorder; 33 class GCMStatsRecorder;
35 34
36 class GCM_EXPORT ConnectionFactoryImpl : 35 class GCM_EXPORT ConnectionFactoryImpl :
37 public ConnectionFactory, 36 public ConnectionFactory,
38 public net::NetworkChangeNotifier::NetworkChangeObserver { 37 public net::NetworkChangeNotifier::NetworkChangeObserver {
39 public: 38 public:
40 // |http_network_session| is an optional network session to use as a source 39 // |http_network_session| is an optional network session to use as a source
41 // for proxy auth credentials (via its HttpAuthCache). |gcm_network_session| 40 // for proxy auth credentials (via its HttpAuthCache). |gcm_network_session|
42 // is the network session through which GCM connections should be made, and 41 // is the network session through which GCM connections should be made, and
43 // must not be the same as |http_network_session|. 42 // must not be the same as |http_network_session|.
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 ConnectionListener* listener_; 210 ConnectionListener* listener_;
212 211
213 base::WeakPtrFactory<ConnectionFactoryImpl> weak_ptr_factory_; 212 base::WeakPtrFactory<ConnectionFactoryImpl> weak_ptr_factory_;
214 213
215 DISALLOW_COPY_AND_ASSIGN(ConnectionFactoryImpl); 214 DISALLOW_COPY_AND_ASSIGN(ConnectionFactoryImpl);
216 }; 215 };
217 216
218 } // namespace gcm 217 } // namespace gcm
219 218
220 #endif // GOOGLE_APIS_GCM_ENGINE_CONNECTION_FACTORY_IMPL_H_ 219 #endif // GOOGLE_APIS_GCM_ENGINE_CONNECTION_FACTORY_IMPL_H_
OLDNEW
« no previous file with comments | « google_apis/gcm/base/mcs_util.h ('k') | google_apis/gcm/engine/connection_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698