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

Side by Side Diff: net/base/network_delegate_impl.cc

Issue 1421983002: Include tab IDs when reporting data use accounting. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@data_use_scoped_vector
Patch Set: Fixed external_data_use_observer test 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_job.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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « net/base/network_delegate_impl.h ('k') | net/url_request/url_request_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698