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

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

Issue 1158923002: Remove support for the "gcm_user_visible_only" manifest key. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a message Created 5 years, 7 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_parser.h » ('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 5ee29630588028dfc27073e2c158e44aff3c137a..1345e076b4114f66aaebeaac4dd253df894b5982 100644
--- a/content/public/common/manifest.cc
+++ b/content/public/common/manifest.cc
@@ -25,8 +25,7 @@ Manifest::RelatedApplication::~RelatedApplication() {
Manifest::Manifest()
: display(DISPLAY_MODE_UNSPECIFIED),
orientation(blink::WebScreenOrientationLockDefault),
- prefer_related_applications(false),
- gcm_user_visible_only(false) {
+ prefer_related_applications(false) {
}
Manifest::~Manifest() {
@@ -41,8 +40,7 @@ bool Manifest::IsEmpty() const {
icons.empty() &&
related_applications.empty() &&
!prefer_related_applications &&
- gcm_sender_id.is_null() &&
- !gcm_user_visible_only;
+ gcm_sender_id.is_null();
}
} // namespace content
« no previous file with comments | « content/public/common/manifest.h ('k') | content/renderer/manifest/manifest_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698