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

Side by Side Diff: android_webview/browser/net/aw_network_delegate.cc

Issue 390533003: Bypassed Bytes UMAs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moving #if defined(SPDY_PROXY_AUTH_ORIGIN) Created 6 years, 5 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
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 "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
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 /* returned bypass type */);
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
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
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/net/chrome_network_delegate.h » ('j') | chrome/browser/net/chrome_network_delegate.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698