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

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

Issue 7043007: Kill URLRequestJobTracker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge. Created 9 years, 7 months 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 | Annotate | Revision Log
« no previous file with comments | « net/base/network_delegate.h ('k') | net/http/http_cache.h » ('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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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.h" 5 #include "net/base/network_delegate.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 8
9 namespace net { 9 namespace net {
10 10
(...skipping 22 matching lines...) Expand all
33 DCHECK(CalledOnValidThread()); 33 DCHECK(CalledOnValidThread());
34 OnRequestSent(request_id, socket_address, headers); 34 OnRequestSent(request_id, socket_address, headers);
35 } 35 }
36 36
37 void NetworkDelegate::NotifyResponseStarted(URLRequest* request) { 37 void NetworkDelegate::NotifyResponseStarted(URLRequest* request) {
38 DCHECK(CalledOnValidThread()); 38 DCHECK(CalledOnValidThread());
39 DCHECK(request); 39 DCHECK(request);
40 OnResponseStarted(request); 40 OnResponseStarted(request);
41 } 41 }
42 42
43 void NetworkDelegate::NotifyRawBytesRead(const URLRequest& request,
44 int bytes_read) {
45 DCHECK(CalledOnValidThread());
46 OnRawBytesRead(request, bytes_read);
47 }
48
43 void NetworkDelegate::NotifyBeforeRedirect(URLRequest* request, 49 void NetworkDelegate::NotifyBeforeRedirect(URLRequest* request,
44 const GURL& new_location) { 50 const GURL& new_location) {
45 DCHECK(CalledOnValidThread()); 51 DCHECK(CalledOnValidThread());
46 DCHECK(request); 52 DCHECK(request);
47 OnBeforeRedirect(request, new_location); 53 OnBeforeRedirect(request, new_location);
48 } 54 }
49 55
50 void NetworkDelegate::NotifyCompleted(URLRequest* request) { 56 void NetworkDelegate::NotifyCompleted(URLRequest* request) {
51 DCHECK(CalledOnValidThread()); 57 DCHECK(CalledOnValidThread());
52 DCHECK(request); 58 DCHECK(request);
(...skipping 11 matching lines...) Expand all
64 OnHttpTransactionDestroyed(request_id); 70 OnHttpTransactionDestroyed(request_id);
65 } 71 }
66 72
67 void NetworkDelegate::NotifyPACScriptError(int line_number, 73 void NetworkDelegate::NotifyPACScriptError(int line_number,
68 const string16& error) { 74 const string16& error) {
69 DCHECK(CalledOnValidThread()); 75 DCHECK(CalledOnValidThread());
70 OnPACScriptError(line_number, error); 76 OnPACScriptError(line_number, error);
71 } 77 }
72 78
73 } // namespace net 79 } // namespace net
OLDNEW
« no previous file with comments | « net/base/network_delegate.h ('k') | net/http/http_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698