diff options
author | dbeam@chromium.org <dbeam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-11 09:17:26 +0000 |
---|---|---|
committer | dbeam@chromium.org <dbeam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-11 09:17:26 +0000 |
commit | b3bc583983598945ef39b8ad26b8e7e1c3d65d92 (patch) | |
tree | b0f3b723c3d958ec6fcd2af8978e4cf31cb5e830 /chrome/common/pref_names.cc | |
parent | 1e4a802d0d255628c20641e23ee376a964161ed9 (diff) | |
download | chromium_src-b3bc583983598945ef39b8ad26b8e7e1c3d65d92.zip chromium_src-b3bc583983598945ef39b8ad26b8e7e1c3d65d92.tar.gz chromium_src-b3bc583983598945ef39b8ad26b8e7e1c3d65d92.tar.bz2 |
Adding UMA for sync promo.
R=sail@chromium.org
BUG=97820
TEST=Either change the macros, check the codeflow, or add breakpoints to see if
UMA_* macros and other things are working (and it should also compile).
Review URL: http://codereview.chromium.org/8116024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104870 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/pref_names.cc')
-rw-r--r-- | chrome/common/pref_names.cc | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc index af6c624..d7bed63 100644 --- a/chrome/common/pref_names.cc +++ b/chrome/common/pref_names.cc @@ -1112,9 +1112,6 @@ const char kShouldUseMinimalFirstRunBubble[] = "show-minimal-first-run-bubble"; // Signal that we should show the welcome page when we launch Chrome. const char kShouldShowWelcomePage[] = "show-welcome-page"; -// Tracks the number of times that we have shown the sync promo at startup. -const char kSyncPromoStartupCount[] = "sync-promo-startup-count"; - // String containing the last known Google URL. We re-detect this on startup in // most cases, and use it to send traffic to the correct Google host or with the // correct Google domain/country code for whatever location the user is in. @@ -1398,6 +1395,13 @@ const char kSyncUsingSecondaryPassphrase[] = "sync.using_secondary_passphrase"; // String that identifies the user logged into sync and other google services. const char kGoogleServicesUsername[] = "google.services.username"; +// Tracks the number of times that we have shown the sync promo at startup. +const char kSyncPromoStartupCount[] = "sync_promo.startup_count"; + +// A counter to remember the number of times we've been to the sync promo page +// (not at startup). +const char kSyncPromoViewCount[] = "sync_promo.view_count"; + // Create web application shortcut dialog preferences. const char kWebAppCreateOnDesktop[] = "browser.web_app.create_on_desktop"; const char kWebAppCreateInAppsMenu[] = "browser.web_app.create_in_apps_menu"; |