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

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

Issue 1465503002: Revert of CHECK that URLRequestJobs are not orphaned while blocked by extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make git do the revert Created 5 years, 1 month 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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 168
169 void LayeredNetworkDelegate::OnURLRequestDestroyed(URLRequest* request) { 169 void LayeredNetworkDelegate::OnURLRequestDestroyed(URLRequest* request) {
170 OnURLRequestDestroyedInternal(request); 170 OnURLRequestDestroyedInternal(request);
171 nested_network_delegate_->NotifyURLRequestDestroyed(request); 171 nested_network_delegate_->NotifyURLRequestDestroyed(request);
172 } 172 }
173 173
174 void LayeredNetworkDelegate::OnURLRequestDestroyedInternal( 174 void LayeredNetworkDelegate::OnURLRequestDestroyedInternal(
175 URLRequest* request) { 175 URLRequest* request) {
176 } 176 }
177 177
178 void LayeredNetworkDelegate::OnURLRequestJobOrphaned(URLRequest* request) {
179 // This hook is only added to debug https://crbug.com/289715, so there is no
180 // need for a OnURLRequestJobOrphanedInternal hook.
181 nested_network_delegate_->NotifyURLRequestJobOrphaned(request);
182 }
183
184 void LayeredNetworkDelegate::OnPACScriptError(int line_number, 178 void LayeredNetworkDelegate::OnPACScriptError(int line_number,
185 const base::string16& error) { 179 const base::string16& error) {
186 OnPACScriptErrorInternal(line_number, error); 180 OnPACScriptErrorInternal(line_number, error);
187 nested_network_delegate_->NotifyPACScriptError(line_number, error); 181 nested_network_delegate_->NotifyPACScriptError(line_number, error);
188 } 182 }
189 183
190 void LayeredNetworkDelegate::OnPACScriptErrorInternal( 184 void LayeredNetworkDelegate::OnPACScriptErrorInternal(
191 int line_number, 185 int line_number,
192 const base::string16& error) { 186 const base::string16& error) {
193 } 187 }
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 } 272 }
279 273
280 void LayeredNetworkDelegate:: 274 void LayeredNetworkDelegate::
281 OnCancelURLRequestWithPolicyViolatingReferrerHeaderInternal( 275 OnCancelURLRequestWithPolicyViolatingReferrerHeaderInternal(
282 const URLRequest& request, 276 const URLRequest& request,
283 const GURL& target_url, 277 const GURL& target_url,
284 const GURL& referrer_url) const { 278 const GURL& referrer_url) const {
285 } 279 }
286 280
287 } // namespace net 281 } // 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