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

Unified Diff: content/renderer/manifest/manifest_parser.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/renderer/manifest/manifest_parser.h ('k') | content/renderer/manifest/manifest_parser_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/manifest/manifest_parser.cc
diff --git a/content/renderer/manifest/manifest_parser.cc b/content/renderer/manifest/manifest_parser.cc
index 924d2aa9668581ef09e52d8e38378dd45423f3b0..02a5c9c5bedf461464ffc68ee4fba7c45ca20170 100644
--- a/content/renderer/manifest/manifest_parser.cc
+++ b/content/renderer/manifest/manifest_parser.cc
@@ -130,7 +130,6 @@ void ManifestParser::Parse() {
manifest_.prefer_related_applications =
ParsePreferRelatedApplications(*dictionary);
manifest_.gcm_sender_id = ParseGCMSenderID(*dictionary);
- manifest_.gcm_user_visible_only = ParseGCMUserVisibleOnly(*dictionary);
ManifestUmaUtil::ParseSucceeded(manifest_);
}
@@ -409,9 +408,4 @@ base::NullableString16 ManifestParser::ParseGCMSenderID(
return ParseString(dictionary, "gcm_sender_id", Trim);
}
-bool ManifestParser::ParseGCMUserVisibleOnly(
- const base::DictionaryValue& dictionary) {
- return ParseBoolean(dictionary, "gcm_user_visible_only", false);
-}
-
} // namespace content
« no previous file with comments | « content/renderer/manifest/manifest_parser.h ('k') | content/renderer/manifest/manifest_parser_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698