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

Side by Side Diff: net/base/layered_network_delegate.cc

Issue 1337113004: CHECK that URLRequestJobs are not orphaned while blocked by extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mmenke comments Created 5 years, 3 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/base/layered_network_delegate.h ('k') | net/base/network_delegate.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/base/layered_network_delegate.h" 5 #include "net/base/layered_network_delegate.h"
6 6
7 namespace net { 7 namespace net {
8 8
9 LayeredNetworkDelegate::LayeredNetworkDelegate( 9 LayeredNetworkDelegate::LayeredNetworkDelegate(
10 scoped_ptr<NetworkDelegate> nested_network_delegate) 10 scoped_ptr<NetworkDelegate> nested_network_delegate)
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 159
160 void LayeredNetworkDelegate::OnURLRequestDestroyed(URLRequest* request) { 160 void LayeredNetworkDelegate::OnURLRequestDestroyed(URLRequest* request) {
161 OnURLRequestDestroyedInternal(request); 161 OnURLRequestDestroyedInternal(request);
162 nested_network_delegate_->NotifyURLRequestDestroyed(request); 162 nested_network_delegate_->NotifyURLRequestDestroyed(request);
163 } 163 }
164 164
165 void LayeredNetworkDelegate::OnURLRequestDestroyedInternal( 165 void LayeredNetworkDelegate::OnURLRequestDestroyedInternal(
166 URLRequest* request) { 166 URLRequest* request) {
167 } 167 }
168 168
169 void LayeredNetworkDelegate::OnURLRequestJobOrphaned(URLRequest* request) {
170 // This hook is only added to debug https://crbug.com/289715, so there is no
171 // need for a OnURLRequestJobOrphanedInternal hook.
172 nested_network_delegate_->NotifyURLRequestJobOrphaned(request);
173 }
174
169 void LayeredNetworkDelegate::OnPACScriptError(int line_number, 175 void LayeredNetworkDelegate::OnPACScriptError(int line_number,
170 const base::string16& error) { 176 const base::string16& error) {
171 OnPACScriptErrorInternal(line_number, error); 177 OnPACScriptErrorInternal(line_number, error);
172 nested_network_delegate_->NotifyPACScriptError(line_number, error); 178 nested_network_delegate_->NotifyPACScriptError(line_number, error);
173 } 179 }
174 180
175 void LayeredNetworkDelegate::OnPACScriptErrorInternal( 181 void LayeredNetworkDelegate::OnPACScriptErrorInternal(
176 int line_number, 182 int line_number,
177 const base::string16& error) { 183 const base::string16& error) {
178 } 184 }
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 } 270 }
265 271
266 void LayeredNetworkDelegate:: 272 void LayeredNetworkDelegate::
267 OnCancelURLRequestWithPolicyViolatingReferrerHeaderInternal( 273 OnCancelURLRequestWithPolicyViolatingReferrerHeaderInternal(
268 const URLRequest& request, 274 const URLRequest& request,
269 const GURL& target_url, 275 const GURL& target_url,
270 const GURL& referrer_url) const { 276 const GURL& referrer_url) const {
271 } 277 }
272 278
273 } // namespace net 279 } // namespace net
OLDNEW
« no previous file with comments | « net/base/layered_network_delegate.h ('k') | net/base/network_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698