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

Unified Diff: content/public/common/manifest.cc

Issue 919293002: Add related_applications field to manifest parser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback 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
« no previous file with comments | « content/public/common/manifest.h ('k') | content/renderer/manifest/manifest_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/manifest.cc
diff --git a/content/public/common/manifest.cc b/content/public/common/manifest.cc
index 389754189cecbc5713782cd182839a1e5a2bc8bf..5ee29630588028dfc27073e2c158e44aff3c137a 100644
--- a/content/public/common/manifest.cc
+++ b/content/public/common/manifest.cc
@@ -16,9 +16,16 @@ Manifest::Icon::Icon()
Manifest::Icon::~Icon() {
}
+Manifest::RelatedApplication::RelatedApplication() {
+}
+
+Manifest::RelatedApplication::~RelatedApplication() {
+}
+
Manifest::Manifest()
: display(DISPLAY_MODE_UNSPECIFIED),
orientation(blink::WebScreenOrientationLockDefault),
+ prefer_related_applications(false),
gcm_user_visible_only(false) {
}
@@ -32,6 +39,8 @@ bool Manifest::IsEmpty() const {
display == DISPLAY_MODE_UNSPECIFIED &&
orientation == blink::WebScreenOrientationLockDefault &&
icons.empty() &&
+ related_applications.empty() &&
+ !prefer_related_applications &&
gcm_sender_id.is_null() &&
!gcm_user_visible_only;
}
« no previous file with comments | « content/public/common/manifest.h ('k') | content/renderer/manifest/manifest_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698