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

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: Do IPC stuff 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/manifest_manager_messages.h
diff --git a/content/common/manifest_manager_messages.h b/content/common/manifest_manager_messages.h
index 881ff6b6435df37b6f09ca65566e628677b57743..8c52964cdd0e9d32c1e18c42dbcab037f8756052 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::ChromeRelatedApplicationPlatform,
+ content::Manifest::CHROME_RELATED_APPLICATION_PLATFORM_ANDROID)
mlamouri (slow - plz ping) 2015/02/17 12:43:20 Shouldn't that be _WEB instead?
benwells 2015/02/17 12:57:03 Derrr .... Done.
+
IPC_STRUCT_TRAITS_BEGIN(content::Manifest::Icon)
IPC_STRUCT_TRAITS_MEMBER(src)
IPC_STRUCT_TRAITS_MEMBER(type)
@@ -24,6 +28,11 @@ IPC_STRUCT_TRAITS_BEGIN(content::Manifest::Icon)
IPC_STRUCT_TRAITS_MEMBER(sizes)
IPC_STRUCT_TRAITS_END()
+IPC_STRUCT_TRAITS_BEGIN(content::Manifest::ChromeRelatedApplication)
+ IPC_STRUCT_TRAITS_MEMBER(platform)
+ 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)
@@ -32,6 +41,7 @@ IPC_STRUCT_TRAITS_BEGIN(content::Manifest)
IPC_STRUCT_TRAITS_MEMBER(orientation)
IPC_STRUCT_TRAITS_MEMBER(icons)
IPC_STRUCT_TRAITS_MEMBER(gcm_sender_id)
+ IPC_STRUCT_TRAITS_MEMBER(chrome_related_applications)
IPC_STRUCT_TRAITS_END()
// The browser process requests for the manifest linked with the associated

Powered by Google App Engine
This is Rietveld 408576698