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

Unified Diff: content/browser/loader/resource_dispatcher_host_impl.h

Issue 94503003: Split ResourceDispatcherHostImpl::BeginRequest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed #2 Created 7 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/loader/resource_dispatcher_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/loader/resource_dispatcher_host_impl.h
diff --git a/content/browser/loader/resource_dispatcher_host_impl.h b/content/browser/loader/resource_dispatcher_host_impl.h
index ef0e4cfdb75b2ebb271cd242243baa67a511bfd2..2e0253ae5198a353b15da7219dcfa0c8f9ad9977 100644
--- a/content/browser/loader/resource_dispatcher_host_impl.h
+++ b/content/browser/loader/resource_dispatcher_host_impl.h
@@ -372,6 +372,18 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
const ResourceHostMsg_Request& request_data,
IPC::Message* sync_result, // only valid for sync
int route_id); // only valid for async
+
+ // Creates a ResourceHandler to be used by BeginRequest() for normal resource
+ // loading.
+ scoped_ptr<ResourceHandler> CreateResourceHandler(
+ net::URLRequest* request,
+ const ResourceHostMsg_Request& request_data,
+ IPC::Message* sync_result,
+ int route_id,
+ int process_type,
+ int child_id,
+ ResourceContext* resource_context);
+
void OnDataDownloadedACK(int request_id);
void OnUploadProgressACK(int request_id);
void OnCancelRequest(int request_id);
« no previous file with comments | « no previous file | content/browser/loader/resource_dispatcher_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698