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

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

Issue 2063003003: Implement "scope" Web Manifest parsing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'webapk_manifest_scope00' into webapk_manifest_scope0 Created 4 years, 6 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 86a6d41d4c3a44a441772eac8a0e7ce6360f13f8..cde3498f1b83aa90ace4c55f9c0be7258af7a33f 100644
--- a/content/public/common/manifest.cc
+++ b/content/public/common/manifest.cc
@@ -51,7 +51,8 @@ bool Manifest::IsEmpty() const {
!prefer_related_applications &&
theme_color == Manifest::kInvalidOrMissingColor &&
background_color == Manifest::kInvalidOrMissingColor &&
- gcm_sender_id.is_null();
+ gcm_sender_id.is_null() &&
+ scope.is_empty();
}
} // 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