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

Side by Side Diff: chrome/common/pref_names.cc

Issue 143683004: Add UMA to track app launcher discoverability. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix tests Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "chrome/common/pref_font_webkit_names.h" 8 #include "chrome/common/pref_font_webkit_names.h"
9 9
10 namespace prefs { 10 namespace prefs {
(...skipping 2542 matching lines...) Expand 10 before | Expand all | Expand 10 after
2553 #if defined(OS_CHROMEOS) 2553 #if defined(OS_CHROMEOS)
2554 // The RLZ brand code, if enabled. 2554 // The RLZ brand code, if enabled.
2555 const char kRLZBrand[] = "rlz.brand"; 2555 const char kRLZBrand[] = "rlz.brand";
2556 // Whether RLZ pings are disabled. 2556 // Whether RLZ pings are disabled.
2557 const char kRLZDisabled[] = "rlz.disabled"; 2557 const char kRLZDisabled[] = "rlz.disabled";
2558 #endif 2558 #endif
2559 2559
2560 #if defined(ENABLE_APP_LIST) 2560 #if defined(ENABLE_APP_LIST)
2561 // The directory in user data dir that contains the profile to be used with the 2561 // The directory in user data dir that contains the profile to be used with the
2562 // app launcher. 2562 // app launcher.
2563 extern const char kAppListProfile[] = "app_list.profile"; 2563 const char kAppListProfile[] = "app_list.profile";
2564 2564
2565 // Whether to show the app list on a browser relaunch. Used when switching out 2565 // Whether to show the app list on a browser relaunch. Used when switching out
2566 // of metro mode after a user gesture requests showing the app list. 2566 // of metro mode after a user gesture requests showing the app list.
2567 const char kRestartWithAppList[] = "app_list.show_on_relaunch"; 2567 const char kRestartWithAppList[] = "app_list.show_on_relaunch";
2568 2568
2569 // The number of times the app launcher was launched since last ping and 2569 // The number of times the app launcher was launched since last ping and
2570 // the time of the last ping. 2570 // the time of the last ping.
2571 extern const char kAppListLaunchCount[] = "app_list.launch_count"; 2571 const char kAppListLaunchCount[] = "app_list.launch_count";
2572 extern const char kLastAppListLaunchPing[] = "app_list.last_launch_ping"; 2572 const char kLastAppListLaunchPing[] = "app_list.last_launch_ping";
2573 2573
2574 // The number of times the an app was launched from the app launcher since last 2574 // The number of times the an app was launched from the app launcher since last
2575 // ping and the time of the last ping. 2575 // ping and the time of the last ping.
2576 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count"; 2576 const char kAppListAppLaunchCount[] = "app_list.app_launch_count";
2577 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping"; 2577 const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping";
2578 2578
2579 // A boolean that tracks whether the user has ever enabled the app launcher. 2579 // A boolean that tracks whether the user has ever enabled the app launcher.
2580 const char kAppLauncherHasBeenEnabled[] = 2580 const char kAppLauncherHasBeenEnabled[] =
2581 "apps.app_launcher.has_been_enabled"; 2581 "apps.app_launcher.has_been_enabled";
2582 2582
2583 // An enum indicating how the app launcher was enabled. E.g., via webstore, app
2584 // install, command line, etc. For UMA.
2585 const char kAppListEnableMethod[] = "app_list.how_enabled";
2586
2587 // The time that the app launcher was enabled. Cleared when UMA is recorded.
2588 const char kAppListEnableTime[] = "app_list.when_enabled";
2589
2583 // TODO(calamity): remove this pref since app launcher will always be 2590 // TODO(calamity): remove this pref since app launcher will always be
2584 // installed. 2591 // installed.
2585 // Local state caching knowledge of whether the app launcher is installed. 2592 // Local state caching knowledge of whether the app launcher is installed.
2586 const char kAppLauncherIsEnabled[] = 2593 const char kAppLauncherIsEnabled[] =
2587 "apps.app_launcher.should_show_apps_page"; 2594 "apps.app_launcher.should_show_apps_page";
2588 2595
2589 // Integer representing the version of the app launcher shortcut installed on 2596 // Integer representing the version of the app launcher shortcut installed on
2590 // the system. Incremented, e.g., when embedded icons change. 2597 // the system. Incremented, e.g., when embedded icons change.
2591 const char kAppLauncherShortcutVersion[] = "apps.app_launcher.shortcut_version"; 2598 const char kAppLauncherShortcutVersion[] = "apps.app_launcher.shortcut_version";
2592 2599
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
2650 2657
2651 // The number of seconds since epoch that the OS password was last changed. 2658 // The number of seconds since epoch that the OS password was last changed.
2652 const char kOsPasswordLastChanged[] = 2659 const char kOsPasswordLastChanged[] =
2653 "password_manager.os_password_last_changed"; 2660 "password_manager.os_password_last_changed";
2654 #endif 2661 #endif
2655 2662
2656 // Whether DNS Quick Check is disabled in proxy resolution. 2663 // Whether DNS Quick Check is disabled in proxy resolution.
2657 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2664 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2658 2665
2659 } // namespace prefs 2666 } // namespace prefs
OLDNEW
« chrome/browser/ui/app_list/app_list_service_impl.cc ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698