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

Unified Diff: content/common/manifest_manager_messages.h

Issue 919293002: Add related_applications field to manifest parser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update for additions to spec Created 5 years, 8 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/manifest_manager_messages.h
diff --git a/content/common/manifest_manager_messages.h b/content/common/manifest_manager_messages.h
index 881ff6b6435df37b6f09ca65566e628677b57743..5966759d33447f713eaeee606a06088c05ba877c 100644
--- a/content/common/manifest_manager_messages.h
+++ b/content/common/manifest_manager_messages.h
@@ -17,6 +17,10 @@
IPC_ENUM_TRAITS_MAX_VALUE(content::Manifest::DisplayMode,
content::Manifest::DISPLAY_MODE_BROWSER)
+IPC_ENUM_TRAITS_MAX_VALUE(
+ content::Manifest::RelatedApplicationPlatform,
+ content::Manifest::RELATED_APPLICATION_PLATFORM_PLAY)
+
IPC_STRUCT_TRAITS_BEGIN(content::Manifest::Icon)
IPC_STRUCT_TRAITS_MEMBER(src)
IPC_STRUCT_TRAITS_MEMBER(type)
@@ -24,6 +28,12 @@ IPC_STRUCT_TRAITS_BEGIN(content::Manifest::Icon)
IPC_STRUCT_TRAITS_MEMBER(sizes)
IPC_STRUCT_TRAITS_END()
+IPC_STRUCT_TRAITS_BEGIN(content::Manifest::RelatedApplication)
+ IPC_STRUCT_TRAITS_MEMBER(platform)
+ IPC_STRUCT_TRAITS_MEMBER(url)
+ IPC_STRUCT_TRAITS_MEMBER(id)
+IPC_STRUCT_TRAITS_END()
+
IPC_STRUCT_TRAITS_BEGIN(content::Manifest)
IPC_STRUCT_TRAITS_MEMBER(name)
IPC_STRUCT_TRAITS_MEMBER(short_name)
@@ -31,6 +41,8 @@ IPC_STRUCT_TRAITS_BEGIN(content::Manifest)
IPC_STRUCT_TRAITS_MEMBER(display)
IPC_STRUCT_TRAITS_MEMBER(orientation)
IPC_STRUCT_TRAITS_MEMBER(icons)
+ IPC_STRUCT_TRAITS_MEMBER(related_applications)
+ IPC_STRUCT_TRAITS_MEMBER(prefer_related_applications)
IPC_STRUCT_TRAITS_MEMBER(gcm_sender_id)
IPC_STRUCT_TRAITS_END()

Powered by Google App Engine
This is Rietveld 408576698