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

Side by Side Diff: content/browser/loader/resource_loader.h

Issue 12243002: Pass WebKit priority changes and parsing messages up to the browser process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ 5 #ifndef CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_
6 #define CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ 6 #define CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "content/browser/loader/resource_handler.h" 10 #include "content/browser/loader/resource_handler.h"
(...skipping 21 matching lines...) Expand all
32 32
33 void StartRequest(); 33 void StartRequest();
34 void CancelRequest(bool from_renderer); 34 void CancelRequest(bool from_renderer);
35 35
36 void ReportUploadProgress(); 36 void ReportUploadProgress();
37 37
38 bool is_transferring() const { return is_transferring_; } 38 bool is_transferring() const { return is_transferring_; }
39 void MarkAsTransferring(); 39 void MarkAsTransferring();
40 void WillCompleteTransfer(); 40 void WillCompleteTransfer();
41 void CompleteTransfer(scoped_ptr<ResourceHandler> new_handler); 41 void CompleteTransfer(scoped_ptr<ResourceHandler> new_handler);
42 void ChangePriority(net::RequestPriority new_priority);
42 43
43 net::URLRequest* request() { return request_.get(); } 44 net::URLRequest* request() { return request_.get(); }
44 ResourceRequestInfoImpl* GetRequestInfo(); 45 ResourceRequestInfoImpl* GetRequestInfo();
45 46
46 void ClearLoginDelegate(); 47 void ClearLoginDelegate();
47 void ClearSSLClientAuthHandler(); 48 void ClearSSLClientAuthHandler();
48 49
49 // IPC message handlers: 50 // IPC message handlers:
50 void OnUploadProgressACK(); 51 void OnUploadProgressACK();
51 52
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 bool is_transferring_; 116 bool is_transferring_;
116 117
117 base::WeakPtrFactory<ResourceLoader> weak_ptr_factory_; 118 base::WeakPtrFactory<ResourceLoader> weak_ptr_factory_;
118 119
119 DISALLOW_COPY_AND_ASSIGN(ResourceLoader); 120 DISALLOW_COPY_AND_ASSIGN(ResourceLoader);
120 }; 121 };
121 122
122 } // namespace content 123 } // namespace content
123 124
124 #endif // CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_ 125 #endif // CONTENT_BROWSER_LOADER_RESOURCE_LOADER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698