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

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

Issue 770023002: Push registration should read a "gcm_user_visible_only" key from the Manifest. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment fix Created 6 years 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/public/common/manifest.h
diff --git a/content/public/common/manifest.h b/content/public/common/manifest.h
index 038bd0d9f7c26d66a14972779b2ea29d139ddee4..95180e21f7330e07d44c77a322d1e5bfa6114d00 100644
--- a/content/public/common/manifest.h
+++ b/content/public/common/manifest.h
@@ -87,6 +87,11 @@ struct CONTENT_EXPORT Manifest {
// Null if parsing failed or the field was not present.
base::NullableString16 gcm_sender_id;
+ // This is a proprietary extension of the web Manifest, double-check that it
+ // is okay to use this entry.
+ // False if parsing failed or the field was not present.
+ bool gcm_user_visible_only;
+
// Maximum length for all the strings inside the Manifest when it is sent over
// IPC. The renderer process should truncate the strings before sending the
// Manifest and the browser process must do the same when receiving it.

Powered by Google App Engine
This is Rietveld 408576698