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

Side by Side Diff: net/http/http_network_transaction.cc

Issue 382313003: Add data reduction functionality to all platforms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove incorrect DCHECK from drp_statistics_prefs.cc Created 6 years, 2 months 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/http/http_log_util_unittest.cc ('k') | net/http/http_proxy_client_socket_pool.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/http/http_network_transaction.h" 5 #include "net/http/http_network_transaction.h"
6 6
7 #include <set> 7 #include <set>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 #include "net/socket/transport_client_socket_pool.h" 56 #include "net/socket/transport_client_socket_pool.h"
57 #include "net/spdy/hpack_huffman_aggregator.h" 57 #include "net/spdy/hpack_huffman_aggregator.h"
58 #include "net/spdy/spdy_http_stream.h" 58 #include "net/spdy/spdy_http_stream.h"
59 #include "net/spdy/spdy_session.h" 59 #include "net/spdy/spdy_session.h"
60 #include "net/spdy/spdy_session_pool.h" 60 #include "net/spdy/spdy_session_pool.h"
61 #include "net/ssl/ssl_cert_request_info.h" 61 #include "net/ssl/ssl_cert_request_info.h"
62 #include "net/ssl/ssl_connection_status_flags.h" 62 #include "net/ssl/ssl_connection_status_flags.h"
63 #include "url/gurl.h" 63 #include "url/gurl.h"
64 #include "url/url_canon.h" 64 #include "url/url_canon.h"
65 65
66 #if defined(SPDY_PROXY_AUTH_ORIGIN)
67 #include <algorithm>
68 #include "net/proxy/proxy_server.h"
69 #endif
70
71
72 using base::Time; 66 using base::Time;
73 using base::TimeDelta; 67 using base::TimeDelta;
74 68
75 namespace net { 69 namespace net {
76 70
77 namespace { 71 namespace {
78 72
79 void ProcessAlternateProtocol( 73 void ProcessAlternateProtocol(
80 HttpNetworkSession* session, 74 HttpNetworkSession* session,
81 const HttpResponseHeaders& headers, 75 const HttpResponseHeaders& headers,
(...skipping 1514 matching lines...) Expand 10 before | Expand all | Expand 10 after
1596 description = base::StringPrintf("Unknown state 0x%08X (%u)", state, 1590 description = base::StringPrintf("Unknown state 0x%08X (%u)", state,
1597 state); 1591 state);
1598 break; 1592 break;
1599 } 1593 }
1600 return description; 1594 return description;
1601 } 1595 }
1602 1596
1603 #undef STATE_CASE 1597 #undef STATE_CASE
1604 1598
1605 } // namespace net 1599 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_log_util_unittest.cc ('k') | net/http/http_proxy_client_socket_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698