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

Side by Side Diff: net/socket/client_socket_factory.cc

Issue 2508593002: net: move udp directory into socket (Closed)
Patch Set: revert sys/socket.h change Created 4 years, 1 month 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 | « net/socket/client_socket_factory.h ('k') | net/socket/client_socket_pool_base_unittest.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "net/socket/client_socket_factory.h" 5 #include "net/socket/client_socket_factory.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
11 #include "net/cert/cert_database.h" 11 #include "net/cert/cert_database.h"
12 #include "net/socket/client_socket_handle.h" 12 #include "net/socket/client_socket_handle.h"
13 #include "net/socket/ssl_client_socket_impl.h" 13 #include "net/socket/ssl_client_socket_impl.h"
14 #include "net/socket/tcp_client_socket.h" 14 #include "net/socket/tcp_client_socket.h"
15 #include "net/udp/udp_client_socket.h" 15 #include "net/socket/udp_client_socket.h"
16 16
17 namespace net { 17 namespace net {
18 18
19 class X509Certificate; 19 class X509Certificate;
20 20
21 namespace { 21 namespace {
22 22
23 class DefaultClientSocketFactory : public ClientSocketFactory, 23 class DefaultClientSocketFactory : public ClientSocketFactory,
24 public CertDatabase::Observer { 24 public CertDatabase::Observer {
25 public: 25 public:
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 g_default_client_socket_factory = LAZY_INSTANCE_INITIALIZER; 72 g_default_client_socket_factory = LAZY_INSTANCE_INITIALIZER;
73 73
74 } // namespace 74 } // namespace
75 75
76 // static 76 // static
77 ClientSocketFactory* ClientSocketFactory::GetDefaultFactory() { 77 ClientSocketFactory* ClientSocketFactory::GetDefaultFactory() {
78 return g_default_client_socket_factory.Pointer(); 78 return g_default_client_socket_factory.Pointer();
79 } 79 }
80 80
81 } // namespace net 81 } // namespace net
OLDNEW
« no previous file with comments | « net/socket/client_socket_factory.h ('k') | net/socket/client_socket_pool_base_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698