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

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: Addressed David'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
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..617faebe828f4f1b5ee9c92e1e9e5572d4a60c86 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,
+ int64 frame_tree_node_id);
nasko 2015/05/22 16:48:07 FTN id is now int, not in64. It changed recently.
clamy 2015/05/26 10:43:11 Done.
// 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.
+ int64 frame_tree_node_id_;
nasko 2015/05/22 16:48:06 int
clamy 2015/05/26 10:43:11 Done.
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698