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

Unified Diff: content/common/frame_messages.h

Issue 2498193003: [WIP not ready for review] ServiceWorker Download support.
Patch Set: rebase Created 4 years, 1 month 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 | « content/browser/loader/resource_requester_info.cc ('k') | content/public/browser/download_url_parameters.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index cd2e4ee3c26a4033952e5e29b04872a02e0af1a4..0caaabe20cc6f2050b7c6ebf9c591f589058dd70 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -578,6 +578,15 @@ IPC_STRUCT_TRAITS_BEGIN(content::PepperRendererInstanceData)
IPC_STRUCT_TRAITS_END()
#endif
+IPC_STRUCT_BEGIN(FrameHostMsg_DownloadUrl_Params)
+ IPC_STRUCT_MEMBER(int32_t, render_view_id)
+ IPC_STRUCT_MEMBER(int32_t, render_frame_id)
+ IPC_STRUCT_MEMBER(int32_t, service_worker_provider_id)
+ IPC_STRUCT_MEMBER(GURL, url)
+ IPC_STRUCT_MEMBER(content::Referrer, referrer)
+ IPC_STRUCT_MEMBER(base::string16, suggested_name)
+IPC_STRUCT_END()
+
// -----------------------------------------------------------------------------
// Messages sent from the browser to the renderer.
@@ -1041,12 +1050,7 @@ IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFinishLoad,
GURL /* validated_url */)
// Initiates a download based on user actions like 'ALT+click'.
-IPC_MESSAGE_CONTROL5(FrameHostMsg_DownloadUrl,
- int /* render_view_id */,
- int /* render_frame_id */,
- GURL /* url */,
- content::Referrer /* referrer */,
- base::string16 /* suggested_name */)
+IPC_MESSAGE_CONTROL1(FrameHostMsg_DownloadUrl, FrameHostMsg_DownloadUrl_Params)
// Asks the browser to save a image (for <canvas> or <img>) from a data URL.
// Note: |data_url| is the contents of a data:URL, and that it's represented as
« no previous file with comments | « content/browser/loader/resource_requester_info.cc ('k') | content/public/browser/download_url_parameters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698