OLD | NEW |
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 "chrome/browser/chromeos/web_socket_proxy.h" | 5 #include "chrome/browser/chromeos/web_socket_proxy.h" |
6 | 6 |
7 #include <stdio.h> | 7 #include <stdio.h> |
8 #include <stdlib.h> | 8 #include <stdlib.h> |
9 #include <string.h> | 9 #include <string.h> |
10 | 10 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 #include "content/public/browser/notification_types.h" | 47 #include "content/public/browser/notification_types.h" |
48 #include "content/public/common/url_constants.h" | 48 #include "content/public/common/url_constants.h" |
49 #include "extensions/common/constants.h" | 49 #include "extensions/common/constants.h" |
50 #include "googleurl/src/gurl.h" | 50 #include "googleurl/src/gurl.h" |
51 #include "googleurl/src/url_parse.h" | 51 #include "googleurl/src/url_parse.h" |
52 #include "net/base/address_list.h" | 52 #include "net/base/address_list.h" |
53 #include "net/base/cert_verifier.h" | 53 #include "net/base/cert_verifier.h" |
54 #include "net/base/host_port_pair.h" | 54 #include "net/base/host_port_pair.h" |
55 #include "net/base/io_buffer.h" | 55 #include "net/base/io_buffer.h" |
56 #include "net/base/net_errors.h" | 56 #include "net/base/net_errors.h" |
57 #include "net/base/ssl_config_service.h" | |
58 #include "net/socket/client_socket_factory.h" | 57 #include "net/socket/client_socket_factory.h" |
59 #include "net/socket/client_socket_handle.h" | 58 #include "net/socket/client_socket_handle.h" |
60 #include "net/socket/ssl_client_socket.h" | 59 #include "net/socket/ssl_client_socket.h" |
61 #include "net/socket/stream_socket.h" | 60 #include "net/socket/stream_socket.h" |
| 61 #include "net/ssl/ssl_config_service.h" |
62 #include "third_party/libevent/evdns.h" | 62 #include "third_party/libevent/evdns.h" |
63 #include "third_party/libevent/event.h" | 63 #include "third_party/libevent/event.h" |
64 | 64 |
65 using content::BrowserThread; | 65 using content::BrowserThread; |
66 | 66 |
67 namespace chromeos { | 67 namespace chromeos { |
68 | 68 |
69 namespace { | 69 namespace { |
70 | 70 |
71 const uint8 kCRLF[] = "\r\n"; | 71 const uint8 kCRLF[] = "\r\n"; |
(...skipping 1829 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1901 | 1901 |
1902 void WebSocketProxy::Shutdown() { | 1902 void WebSocketProxy::Shutdown() { |
1903 static_cast<Serv*>(impl_)->Shutdown(); | 1903 static_cast<Serv*>(impl_)->Shutdown(); |
1904 } | 1904 } |
1905 | 1905 |
1906 void WebSocketProxy::OnNetworkChange() { | 1906 void WebSocketProxy::OnNetworkChange() { |
1907 static_cast<Serv*>(impl_)->OnNetworkChange(); | 1907 static_cast<Serv*>(impl_)->OnNetworkChange(); |
1908 } | 1908 } |
1909 | 1909 |
1910 } // namespace chromeos | 1910 } // namespace chromeos |
OLD | NEW |