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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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(const URLRequest& request, |
60 int64_t bytes_received) {} | 60 int64_t bytes_received) {} |
61 | 61 |
| 62 void NetworkDelegateImpl::OnNetworkBytesSent(const URLRequest& request, |
| 63 int64_t bytes_sent) {} |
| 64 |
62 void NetworkDelegateImpl::OnCompleted(URLRequest* request, bool started) { | 65 void NetworkDelegateImpl::OnCompleted(URLRequest* request, bool started) { |
63 } | 66 } |
64 | 67 |
65 void NetworkDelegateImpl::OnURLRequestDestroyed(URLRequest* request) { | 68 void NetworkDelegateImpl::OnURLRequestDestroyed(URLRequest* request) { |
66 } | 69 } |
67 | 70 |
68 void NetworkDelegateImpl::OnURLRequestJobOrphaned(URLRequest* request) {} | 71 void NetworkDelegateImpl::OnURLRequestJobOrphaned(URLRequest* request) {} |
69 | 72 |
70 void NetworkDelegateImpl::OnPACScriptError(int line_number, | 73 void NetworkDelegateImpl::OnPACScriptError(int line_number, |
71 const base::string16& error) { | 74 const base::string16& error) { |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 } | 109 } |
107 | 110 |
108 bool NetworkDelegateImpl::OnCancelURLRequestWithPolicyViolatingReferrerHeader( | 111 bool NetworkDelegateImpl::OnCancelURLRequestWithPolicyViolatingReferrerHeader( |
109 const URLRequest& request, | 112 const URLRequest& request, |
110 const GURL& target_url, | 113 const GURL& target_url, |
111 const GURL& referrer_url) const { | 114 const GURL& referrer_url) const { |
112 return false; | 115 return false; |
113 } | 116 } |
114 | 117 |
115 } // namespace net | 118 } // namespace net |
OLD | NEW |