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

Unified Diff: content/browser/download/download_request_handle.h

Issue 1079163008: PlzNavigate: provide the FrameTreeNode ID to the network stack (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix-unittests
Patch Set: Rebase + addressed Nasko's comments Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/download/download_request_handle.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/download_request_handle.h
diff --git a/content/browser/download/download_request_handle.h b/content/browser/download/download_request_handle.h
index 76affae249e5a5b41a4e4940c5bfffe0de932bdd..3e237758ed810df50e58ced81dbccb035406a4e3 100644
--- a/content/browser/download/download_request_handle.h
+++ b/content/browser/download/download_request_handle.h
@@ -60,7 +60,8 @@ class CONTENT_EXPORT DownloadRequestHandle
DownloadRequestHandle(const base::WeakPtr<DownloadResourceHandler>& handler,
int child_id,
int render_view_id,
- int request_id);
+ int request_id,
+ int frame_tree_node_id);
// Implement DownloadRequestHandleInterface interface.
WebContents* GetWebContents() const override;
@@ -81,6 +82,10 @@ class CONTENT_EXPORT DownloadRequestHandle
// The ID associated with the request used for the download.
int request_id_;
+
+ // PlzNavigate
+ // The ID of the FrameTreeNode that started the download.
+ int frame_tree_node_id_;
};
} // namespace content
« no previous file with comments | « no previous file | content/browser/download/download_request_handle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698