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

Unified Diff: content/renderer/manifest/manifest_uma_util.cc

Issue 2637003002: Add share_target field to Manifest. (Closed)
Patch Set: Documentation update. Created 3 years, 11 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
Index: content/renderer/manifest/manifest_uma_util.cc
diff --git a/content/renderer/manifest/manifest_uma_util.cc b/content/renderer/manifest/manifest_uma_util.cc
index 4a0a0f142eb8d4c071a589043991349930ce3562..f2103cdda44e860cea16d31b6df7994a8f6c450c 100644
--- a/content/renderer/manifest/manifest_uma_util.cc
+++ b/content/renderer/manifest/manifest_uma_util.cc
@@ -44,6 +44,8 @@ void ManifestUmaUtil::ParseSucceeded(const Manifest& manifest) {
UMA_HISTOGRAM_BOOLEAN("Manifest.HasProperty.orientation",
manifest.orientation != blink::WebScreenOrientationLockDefault);
UMA_HISTOGRAM_BOOLEAN("Manifest.HasProperty.icons", !manifest.icons.empty());
+ UMA_HISTOGRAM_BOOLEAN("Manifest.HasProperty.share_target",
+ !manifest.share_target.is_null());
UMA_HISTOGRAM_BOOLEAN("Manifest.HasProperty.gcm_sender_id",
!manifest.gcm_sender_id.is_null());
}

Powered by Google App Engine
This is Rietveld 408576698