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

Side by Side Diff: chrome/browser/net/chrome_network_delegate.h

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 | « no previous file | chrome/browser/net/chrome_network_delegate.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 (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 #ifndef CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_
6 #define CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ 6 #define CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 GURL* new_url) OVERRIDE; 44 GURL* new_url) OVERRIDE;
45 virtual int OnBeforeSendHeaders(uint64 request_id, 45 virtual int OnBeforeSendHeaders(uint64 request_id,
46 net::CompletionCallback* callback, 46 net::CompletionCallback* callback,
47 net::HttpRequestHeaders* headers) OVERRIDE; 47 net::HttpRequestHeaders* headers) OVERRIDE;
48 virtual void OnRequestSent(uint64 request_id, 48 virtual void OnRequestSent(uint64 request_id,
49 const net::HostPortPair& socket_address, 49 const net::HostPortPair& socket_address,
50 const net::HttpRequestHeaders& headers); 50 const net::HttpRequestHeaders& headers);
51 virtual void OnBeforeRedirect(net::URLRequest* request, 51 virtual void OnBeforeRedirect(net::URLRequest* request,
52 const GURL& new_location); 52 const GURL& new_location);
53 virtual void OnResponseStarted(net::URLRequest* request); 53 virtual void OnResponseStarted(net::URLRequest* request);
54 virtual void OnRawBytesRead(const net::URLRequest& request, int bytes_read);
54 virtual void OnCompleted(net::URLRequest* request); 55 virtual void OnCompleted(net::URLRequest* request);
55 virtual void OnURLRequestDestroyed(net::URLRequest* request); 56 virtual void OnURLRequestDestroyed(net::URLRequest* request);
56 virtual void OnHttpTransactionDestroyed(uint64 request_id); 57 virtual void OnHttpTransactionDestroyed(uint64 request_id);
57 virtual void OnPACScriptError(int line_number, const string16& error); 58 virtual void OnPACScriptError(int line_number, const string16& error);
58 59
59 scoped_refptr<ExtensionEventRouterForwarder> event_router_; 60 scoped_refptr<ExtensionEventRouterForwarder> event_router_;
60 const ProfileId profile_id_; 61 const ProfileId profile_id_;
61 62
62 // Weak, owned by our owner. 63 // Weak, owned by our owner.
63 BooleanPrefMember* enable_referrers_; 64 BooleanPrefMember* enable_referrers_;
64 65
65 DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate); 66 DISALLOW_COPY_AND_ASSIGN(ChromeNetworkDelegate);
66 }; 67 };
67 68
68 #endif // CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_ 69 #endif // CHROME_BROWSER_NET_CHROME_NETWORK_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/net/chrome_network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698