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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 return OK; | 49 return OK; |
50 } | 50 } |
51 | 51 |
52 void NetworkDelegateImpl::OnBeforeRedirect(URLRequest* request, | 52 void NetworkDelegateImpl::OnBeforeRedirect(URLRequest* request, |
53 const GURL& new_location) { | 53 const GURL& new_location) { |
54 } | 54 } |
55 | 55 |
56 void NetworkDelegateImpl::OnResponseStarted(URLRequest* request) { | 56 void NetworkDelegateImpl::OnResponseStarted(URLRequest* request) { |
57 } | 57 } |
58 | 58 |
59 void NetworkDelegateImpl::OnNetworkBytesReceived(const URLRequest& request, | 59 void NetworkDelegateImpl::OnNetworkBytesReceived(URLRequest* request, |
60 int64_t bytes_received) {} | 60 int64_t bytes_received) {} |
61 | 61 |
62 void NetworkDelegateImpl::OnNetworkBytesSent(const 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) {} | 71 void NetworkDelegateImpl::OnURLRequestJobOrphaned(URLRequest* request) {} |
72 | 72 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 } | 109 } |
110 | 110 |
111 bool NetworkDelegateImpl::OnCancelURLRequestWithPolicyViolatingReferrerHeader( | 111 bool NetworkDelegateImpl::OnCancelURLRequestWithPolicyViolatingReferrerHeader( |
112 const URLRequest& request, | 112 const URLRequest& request, |
113 const GURL& target_url, | 113 const GURL& target_url, |
114 const GURL& referrer_url) const { | 114 const GURL& referrer_url) const { |
115 return false; | 115 return false; |
116 } | 116 } |
117 | 117 |
118 } // namespace net | 118 } // namespace net |
OLD | NEW |