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

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 official build 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 2530 matching lines...) Expand 10 before | Expand all | Expand 10 after
2541 #if defined(OS_CHROMEOS) 2541 #if defined(OS_CHROMEOS)
2542 // The RLZ brand code, if enabled. 2542 // The RLZ brand code, if enabled.
2543 const char kRLZBrand[] = "rlz.brand"; 2543 const char kRLZBrand[] = "rlz.brand";
2544 // Whether RLZ pings are disabled. 2544 // Whether RLZ pings are disabled.
2545 const char kRLZDisabled[] = "rlz.disabled"; 2545 const char kRLZDisabled[] = "rlz.disabled";
2546 #endif 2546 #endif
2547 2547
2548 #if defined(ENABLE_APP_LIST) 2548 #if defined(ENABLE_APP_LIST)
2549 // The directory in user data dir that contains the profile to be used with the 2549 // The directory in user data dir that contains the profile to be used with the
2550 // app launcher. 2550 // app launcher.
2551 extern const char kAppListProfile[] = "app_list.profile"; 2551 const char kAppListProfile[] = "app_list.profile";
2552 2552
2553 // Whether to show the app list on a browser relaunch. Used when switching out 2553 // Whether to show the app list on a browser relaunch. Used when switching out
2554 // of metro mode after a user gesture requests showing the app list. 2554 // of metro mode after a user gesture requests showing the app list.
2555 const char kRestartWithAppList[] = "app_list.show_on_relaunch"; 2555 const char kRestartWithAppList[] = "app_list.show_on_relaunch";
2556 2556
2557 // The number of times the app launcher was launched since last ping and 2557 // The number of times the app launcher was launched since last ping and
2558 // the time of the last ping. 2558 // the time of the last ping.
2559 extern const char kAppListLaunchCount[] = "app_list.launch_count"; 2559 const char kAppListLaunchCount[] = "app_list.launch_count";
2560 extern const char kLastAppListLaunchPing[] = "app_list.last_launch_ping"; 2560 const char kLastAppListLaunchPing[] = "app_list.last_launch_ping";
2561 2561
2562 // The number of times the an app was launched from the app launcher since last 2562 // The number of times the an app was launched from the app launcher since last
2563 // ping and the time of the last ping. 2563 // ping and the time of the last ping.
2564 extern const char kAppListAppLaunchCount[] = "app_list.app_launch_count"; 2564 const char kAppListAppLaunchCount[] = "app_list.app_launch_count";
2565 extern const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping"; 2565 const char kLastAppListAppLaunchPing[] = "app_list.last_app_launch_ping";
2566 2566
2567 // A boolean that tracks whether the user has ever enabled the app launcher. 2567 // A boolean that tracks whether the user has ever enabled the app launcher.
2568 const char kAppLauncherHasBeenEnabled[] = 2568 const char kAppLauncherHasBeenEnabled[] =
2569 "apps.app_launcher.has_been_enabled"; 2569 "apps.app_launcher.has_been_enabled";
2570 2570
2571 // An enum indicating how the app launcher was enabled. E.g., via webstore, app
2572 // install, command line, etc. For UMA.
2573 const char kAppListEnableMethod[] = "app_list.how_enabled";
2574
2575 // The time that the app launcher was enabled. Cleared when UMA is recorded.
2576 const char kAppListEnableTime[] = "app_list.when_enabled";
2577
2571 // TODO(calamity): remove this pref since app launcher will always be 2578 // TODO(calamity): remove this pref since app launcher will always be
2572 // installed. 2579 // installed.
2573 // Local state caching knowledge of whether the app launcher is installed. 2580 // Local state caching knowledge of whether the app launcher is installed.
2574 const char kAppLauncherIsEnabled[] = 2581 const char kAppLauncherIsEnabled[] =
2575 "apps.app_launcher.should_show_apps_page"; 2582 "apps.app_launcher.should_show_apps_page";
2576 2583
2577 // Integer representing the version of the app launcher shortcut installed on 2584 // Integer representing the version of the app launcher shortcut installed on
2578 // the system. Incremented, e.g., when embedded icons change. 2585 // the system. Incremented, e.g., when embedded icons change.
2579 const char kAppLauncherShortcutVersion[] = "apps.app_launcher.shortcut_version"; 2586 const char kAppLauncherShortcutVersion[] = "apps.app_launcher.shortcut_version";
2580 2587
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
2638 2645
2639 // The number of seconds since epoch that the OS password was last changed. 2646 // The number of seconds since epoch that the OS password was last changed.
2640 const char kOsPasswordLastChanged[] = 2647 const char kOsPasswordLastChanged[] =
2641 "password_manager.os_password_last_changed"; 2648 "password_manager.os_password_last_changed";
2642 #endif 2649 #endif
2643 2650
2644 // Whether DNS Quick Check is disabled in proxy resolution. 2651 // Whether DNS Quick Check is disabled in proxy resolution.
2645 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2652 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2646 2653
2647 } // namespace prefs 2654 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698