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

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

Issue 519533002: Initial PlzNavigate RDH-side logic. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
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 d1431a40f391b93f612fe298eab462a19ece665e..6522f9752e3a0a0400cfc80bb4d17c9181931230 100644
--- a/content/browser/loader/resource_dispatcher_host_impl.h
+++ b/content/browser/loader/resource_dispatcher_host_impl.h
@@ -54,6 +54,7 @@ class ShareableFileReference;
}
namespace content {
+class NavigationURLLoaderCore;
class ResourceContext;
class ResourceDispatcherHostDelegate;
class ResourceMessageDelegate;
@@ -250,21 +251,14 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl
// elsewhere.
void FinishedWithResourcesForRequest(const net::URLRequest* request_);
- // PlzNavigate
- // Called by NavigationRequest to start a navigation request in the node
- // identified by |frame_node_id|.
- void StartNavigationRequest(const CommonNavigationParams& common_params,
+ // PlzNavigate: Begins a request for NavigationURLLoader. |loader| is the
+ // loader to attach to the leaf resource handler.
+ void BeginNavigationRequest(ResourceContext* resource_context,
+ int64 frame_tree_node_id,
+ const CommonNavigationParams& common_params,
const NavigationRequestInfo& info,
scoped_refptr<ResourceRequestBody> request_body,
- int64 navigation_request_id,
- int64 frame_node_id);
-
- // PlzNavigate
- // Called by NavigationRequest to cancel a navigation request with the
- // provided |navigation_request_id| in the node identified by
- // |frame_node_id|.
- void CancelNavigationRequest(int64 navigation_request_id,
- int64 frame_node_id);
+ NavigationURLLoaderCore* loader);
private:
friend class ResourceDispatcherHostTest;
« no previous file with comments | « content/browser/loader/navigation_url_loader_unittest.cc ('k') | content/browser/loader/resource_dispatcher_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698