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

Unified Diff: chrome/browser/android/shortcut_info.h

Issue 1241823002: Add UMA metrics for Bookmark widgets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nico's nit Created 5 years, 5 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 | « chrome/browser/android/metrics/launch_metrics.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/shortcut_info.h
diff --git a/chrome/browser/android/shortcut_info.h b/chrome/browser/android/shortcut_info.h
index 3b0d01fa61fbcbc80cc98fcbb0c52424db394f51..2f4fbff6e8b3eb62d94e52c21eb8c86b6bd4ac9d 100644
--- a/chrome/browser/android/shortcut_info.h
+++ b/chrome/browser/android/shortcut_info.h
@@ -15,11 +15,16 @@ struct ShortcutInfo {
// This enum is used to back a UMA histogram, and must be treated as
// append-only.
+ // A Java counterpart will be generated for this enum.
+ // GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser
+ // GENERATED_JAVA_CLASS_NAME_OVERRIDE: ShortcutSource
enum Source {
SOURCE_UNKNOWN = 0,
SOURCE_ADD_TO_HOMESCREEN = 1,
SOURCE_APP_BANNER = 2,
- SOURCE_COUNT = 3
+ SOURCE_BOOKMARK_NAVIGATOR_WIDGET = 3,
+ SOURCE_BOOKMARK_SHORTCUT_WIDGET = 4,
+ SOURCE_COUNT = 5
};
ShortcutInfo();
« no previous file with comments | « chrome/browser/android/metrics/launch_metrics.cc ('k') | chrome/chrome.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698