Index: chrome/browser/android/shortcut_helper.cc |
diff --git a/chrome/browser/android/shortcut_helper.cc b/chrome/browser/android/shortcut_helper.cc |
index 339e26ffd0582c4c49f7267e176150cbfc66650a..ae602686b01bba18611beff2846595a34cecbd0a 100644 |
--- a/chrome/browser/android/shortcut_helper.cc |
+++ b/chrome/browser/android/shortcut_helper.cc |
@@ -231,6 +231,11 @@ GURL ShortcutHelper::FindBestMatchingIcon( |
} |
void ShortcutHelper::OnDidGetManifest(const content::Manifest& manifest) { |
+ if (!manifest.IsEmpty()) { |
+ content::RecordAction( |
+ base::UserMetricsAction("webapps.AddShortcut.Manifest")); |
+ } |
+ |
// Set the title based on the manifest value, if any. |
if (!manifest.short_name.is_null()) |
title_ = manifest.short_name.string(); |