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

Unified Diff: content/common/frame_messages.h

Issue 906283003: PlzNavigate: Support data urls (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 5 years, 10 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/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index 5a7fc0d1b0c1d2a8af65250a23157dfef2479b31..1c2dc9b52260d3cb5cb23cb6fa2af9f7351fe4d6 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -212,6 +212,8 @@ IPC_STRUCT_TRAITS_BEGIN(content::CommonNavigationParams)
IPC_STRUCT_TRAITS_MEMBER(allow_download)
IPC_STRUCT_TRAITS_MEMBER(ui_timestamp)
IPC_STRUCT_TRAITS_MEMBER(report_type)
+ IPC_STRUCT_TRAITS_MEMBER(base_url_for_data_url)
+ IPC_STRUCT_TRAITS_MEMBER(history_url_for_data_url)
IPC_STRUCT_TRAITS_END()
IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams)
@@ -284,14 +286,6 @@ IPC_STRUCT_BEGIN(FrameMsg_Navigate_Params)
// succesful when the navigation commits.
IPC_STRUCT_MEMBER(bool, should_clear_history_list)
- // Base URL for use in WebKit's SubstituteData.
- // Is only used with data: URLs.
- IPC_STRUCT_MEMBER(GURL, base_url_for_data_url)
-
- // History URL for use in WebKit's SubstituteData.
- // Is only used with data: URLs.
- IPC_STRUCT_MEMBER(GURL, history_url_for_data_url)
-
// Any redirect URLs that occurred before |url|. Useful for cross-process
// navigations; defaults to empty.
IPC_STRUCT_MEMBER(std::vector<GURL>, redirects)

Powered by Google App Engine
This is Rietveld 408576698