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 "android_webview/browser/net/aw_network_delegate.h" | 5 #include "android_webview/browser/net/aw_network_delegate.h" |
6 | 6 |
7 #include "android_webview/browser/aw_cookie_access_policy.h" | 7 #include "android_webview/browser/aw_cookie_access_policy.h" |
8 #include "base/android/build_info.h" | 8 #include "base/android/build_info.h" |
9 #include "components/data_reduction_proxy/browser/data_reduction_proxy_auth_requ est_handler.h" | 9 #include "components/data_reduction_proxy/browser/data_reduction_proxy_auth_requ est_handler.h" |
10 #include "components/data_reduction_proxy/browser/data_reduction_proxy_params.h" | 10 #include "components/data_reduction_proxy/browser/data_reduction_proxy_params.h" |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
62 net::URLRequest* request, | 62 net::URLRequest* request, |
63 const net::CompletionCallback& callback, | 63 const net::CompletionCallback& callback, |
64 const net::HttpResponseHeaders* original_response_headers, | 64 const net::HttpResponseHeaders* original_response_headers, |
65 scoped_refptr<net::HttpResponseHeaders>* override_response_headers, | 65 scoped_refptr<net::HttpResponseHeaders>* override_response_headers, |
66 GURL* allowed_unsafe_redirect_url) { | 66 GURL* allowed_unsafe_redirect_url) { |
67 | 67 |
68 data_reduction_proxy::MaybeBypassProxyAndPrepareToRetry( | 68 data_reduction_proxy::MaybeBypassProxyAndPrepareToRetry( |
69 data_reduction_proxy_params_, | 69 data_reduction_proxy_params_, |
70 request, | 70 request, |
71 original_response_headers, | 71 original_response_headers, |
72 override_response_headers); | 72 override_response_headers, |
73 NULL); | |
bengr
2014/07/19 00:13:00
add a comment so we know what's null:
NULL /* ret
megjablon
2014/07/21 19:44:43
Done.
| |
73 | 74 |
74 return net::OK; | 75 return net::OK; |
75 } | 76 } |
76 | 77 |
77 void AwNetworkDelegate::OnBeforeRedirect(net::URLRequest* request, | 78 void AwNetworkDelegate::OnBeforeRedirect(net::URLRequest* request, |
78 const GURL& new_location) { | 79 const GURL& new_location) { |
79 } | 80 } |
80 | 81 |
81 void AwNetworkDelegate::OnResponseStarted(net::URLRequest* request) { | 82 void AwNetworkDelegate::OnResponseStarted(net::URLRequest* request) { |
82 } | 83 } |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
127 return false; | 128 return false; |
128 } | 129 } |
129 | 130 |
130 int AwNetworkDelegate::OnBeforeSocketStreamConnect( | 131 int AwNetworkDelegate::OnBeforeSocketStreamConnect( |
131 net::SocketStream* stream, | 132 net::SocketStream* stream, |
132 const net::CompletionCallback& callback) { | 133 const net::CompletionCallback& callback) { |
133 return net::OK; | 134 return net::OK; |
134 } | 135 } |
135 | 136 |
136 } // namespace android_webview | 137 } // namespace android_webview |
OLD | NEW |