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

Side by Side Diff: net/base/network_delegate_impl.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/network_delegate_impl.h ('k') | net/url_request/url_request.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 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/network_delegate_impl.h" 5 #include "net/base/network_delegate_impl.h"
6 6
7 #include "net/base/net_errors.h" 7 #include "net/base/net_errors.h"
8 8
9 namespace net { 9 namespace net {
10 10
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 void NetworkDelegateImpl::OnNetworkBytesSent(URLRequest* request, 62 void NetworkDelegateImpl::OnNetworkBytesSent(URLRequest* request,
63 int64_t bytes_sent) {} 63 int64_t bytes_sent) {}
64 64
65 void NetworkDelegateImpl::OnCompleted(URLRequest* request, bool started) { 65 void NetworkDelegateImpl::OnCompleted(URLRequest* request, bool started) {
66 } 66 }
67 67
68 void NetworkDelegateImpl::OnURLRequestDestroyed(URLRequest* request) { 68 void NetworkDelegateImpl::OnURLRequestDestroyed(URLRequest* request) {
69 } 69 }
70 70
71 void NetworkDelegateImpl::OnURLRequestJobOrphaned(URLRequest* request) {}
72
73 void NetworkDelegateImpl::OnPACScriptError(int line_number, 71 void NetworkDelegateImpl::OnPACScriptError(int line_number,
74 const base::string16& error) { 72 const base::string16& error) {
75 } 73 }
76 74
77 NetworkDelegate::AuthRequiredResponse NetworkDelegateImpl::OnAuthRequired( 75 NetworkDelegate::AuthRequiredResponse NetworkDelegateImpl::OnAuthRequired(
78 URLRequest* request, 76 URLRequest* request,
79 const AuthChallengeInfo& auth_info, 77 const AuthChallengeInfo& auth_info,
80 const AuthCallback& callback, 78 const AuthCallback& callback,
81 AuthCredentials* credentials) { 79 AuthCredentials* credentials) {
82 return AUTH_REQUIRED_RESPONSE_NO_ACTION; 80 return AUTH_REQUIRED_RESPONSE_NO_ACTION;
(...skipping 26 matching lines...) Expand all
109 } 107 }
110 108
111 bool NetworkDelegateImpl::OnCancelURLRequestWithPolicyViolatingReferrerHeader( 109 bool NetworkDelegateImpl::OnCancelURLRequestWithPolicyViolatingReferrerHeader(
112 const URLRequest& request, 110 const URLRequest& request,
113 const GURL& target_url, 111 const GURL& target_url,
114 const GURL& referrer_url) const { 112 const GURL& referrer_url) const {
115 return false; 113 return false;
116 } 114 }
117 115
118 } // namespace net 116 } // namespace net
OLDNEW
« no previous file with comments | « net/base/network_delegate_impl.h ('k') | net/url_request/url_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698