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