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 "net/http/http_network_transaction.h" | 5 #include "net/http/http_network_transaction.h" |
6 | 6 |
7 #include <memory> | 7 #include <memory> |
8 #include <set> | 8 #include <set> |
9 #include <utility> | 9 #include <utility> |
10 #include <vector> | 10 #include <vector> |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 #include "net/http/http_stream_factory.h" | 51 #include "net/http/http_stream_factory.h" |
52 #include "net/http/http_util.h" | 52 #include "net/http/http_util.h" |
53 #include "net/http/transport_security_state.h" | 53 #include "net/http/transport_security_state.h" |
54 #include "net/http/url_security_manager.h" | 54 #include "net/http/url_security_manager.h" |
55 #include "net/log/net_log_event_type.h" | 55 #include "net/log/net_log_event_type.h" |
56 #include "net/proxy/proxy_server.h" | 56 #include "net/proxy/proxy_server.h" |
57 #include "net/socket/client_socket_factory.h" | 57 #include "net/socket/client_socket_factory.h" |
58 #include "net/socket/next_proto.h" | 58 #include "net/socket/next_proto.h" |
59 #include "net/socket/socks_client_socket_pool.h" | 59 #include "net/socket/socks_client_socket_pool.h" |
60 #include "net/socket/transport_client_socket_pool.h" | 60 #include "net/socket/transport_client_socket_pool.h" |
61 #include "net/spdy/spdy_http_stream.h" | 61 #include "net/spdy/chromium/spdy_http_stream.h" |
62 #include "net/spdy/spdy_session.h" | 62 #include "net/spdy/chromium/spdy_session.h" |
63 #include "net/spdy/spdy_session_pool.h" | 63 #include "net/spdy/chromium/spdy_session_pool.h" |
64 #include "net/ssl/ssl_cert_request_info.h" | 64 #include "net/ssl/ssl_cert_request_info.h" |
65 #include "net/ssl/ssl_connection_status_flags.h" | 65 #include "net/ssl/ssl_connection_status_flags.h" |
66 #include "net/ssl/ssl_private_key.h" | 66 #include "net/ssl/ssl_private_key.h" |
67 #include "net/ssl/token_binding.h" | 67 #include "net/ssl/token_binding.h" |
68 #include "url/gurl.h" | 68 #include "url/gurl.h" |
69 #include "url/url_canon.h" | 69 #include "url/url_canon.h" |
70 | 70 |
71 namespace net { | 71 namespace net { |
72 | 72 |
73 namespace { | 73 namespace { |
(...skipping 1735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1809 continue; | 1809 continue; |
1810 if (allowed_encodings.find(encoding) == allowed_encodings.end()) { | 1810 if (allowed_encodings.find(encoding) == allowed_encodings.end()) { |
1811 FilterSourceStream::ReportContentDecodingFailed(source_type); | 1811 FilterSourceStream::ReportContentDecodingFailed(source_type); |
1812 return false; | 1812 return false; |
1813 } | 1813 } |
1814 } | 1814 } |
1815 return true; | 1815 return true; |
1816 } | 1816 } |
1817 | 1817 |
1818 } // namespace net | 1818 } // namespace net |
OLD | NEW |