OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |