OLD | NEW |
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 2505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2516 "apps.app_launcher.should_show_apps_page"; | 2516 "apps.app_launcher.should_show_apps_page"; |
2517 | 2517 |
2518 // Integer representing the version of the app launcher shortcut installed on | 2518 // Integer representing the version of the app launcher shortcut installed on |
2519 // the system. Incremented, e.g., when embedded icons change. | 2519 // the system. Incremented, e.g., when embedded icons change. |
2520 const char kAppLauncherShortcutVersion[] = "apps.app_launcher.shortcut_version"; | 2520 const char kAppLauncherShortcutVersion[] = "apps.app_launcher.shortcut_version"; |
2521 | 2521 |
2522 // A boolean identifying if we should show the app launcher promo or not. | 2522 // A boolean identifying if we should show the app launcher promo or not. |
2523 const char kShowAppLauncherPromo[] = "app_launcher.show_promo"; | 2523 const char kShowAppLauncherPromo[] = "app_launcher.show_promo"; |
2524 #endif | 2524 #endif |
2525 | 2525 |
| 2526 // If set, the user requested to launch the app with this extension id while |
| 2527 // in Metro mode, and then relaunched to Desktop mode to start it. |
| 2528 const char kAppLaunchForMetroRestart[] = "apps.app_launch_for_metro_restart"; |
| 2529 |
| 2530 // Set with |kAppLaunchForMetroRestart|, the profile whose loading triggers |
| 2531 // launch of the specified app when restarting Chrome in desktop mode. |
| 2532 const char kAppLaunchForMetroRestartProfile[] = |
| 2533 "apps.app_launch_for_metro_restart_profile"; |
| 2534 |
2526 // A boolean that indicates whether app shortcuts have been created. | 2535 // A boolean that indicates whether app shortcuts have been created. |
2527 // On a transition from false to true, shortcuts are created for all apps. | 2536 // On a transition from false to true, shortcuts are created for all apps. |
2528 const char kAppShortcutsHaveBeenCreated[] = "apps.shortcuts_have_been_created"; | 2537 const char kAppShortcutsHaveBeenCreated[] = "apps.shortcuts_have_been_created"; |
2529 | 2538 |
2530 // How often the bubble has been shown. | 2539 // How often the bubble has been shown. |
2531 extern const char kModuleConflictBubbleShown[] = "module_conflict.bubble_shown"; | 2540 extern const char kModuleConflictBubbleShown[] = "module_conflict.bubble_shown"; |
2532 | 2541 |
2533 // A string pref for storing the salt used to compute the pepper device ID. | 2542 // A string pref for storing the salt used to compute the pepper device ID. |
2534 const char kDRMSalt[] = "settings.privacy.drm_salt"; | 2543 const char kDRMSalt[] = "settings.privacy.drm_salt"; |
2535 // A boolean pref that enables the (private) pepper GetDeviceID() call and | 2544 // A boolean pref that enables the (private) pepper GetDeviceID() call and |
2536 // enables the use of remote attestation for content protection. | 2545 // enables the use of remote attestation for content protection. |
2537 const char kEnableDRM[] = "settings.privacy.drm_enabled"; | 2546 const char kEnableDRM[] = "settings.privacy.drm_enabled"; |
2538 | 2547 |
2539 // A boolean per-profile pref that signals if the watchdog extension is | 2548 // A boolean per-profile pref that signals if the watchdog extension is |
2540 // installed and active. We need to know if the watchdog extension active for | 2549 // installed and active. We need to know if the watchdog extension active for |
2541 // ActivityLog initialization before the extension system is initialized. | 2550 // ActivityLog initialization before the extension system is initialized. |
2542 const char kWatchdogExtensionActive[] = | 2551 const char kWatchdogExtensionActive[] = |
2543 "profile.extensions.activity_log.watchdog_extension_active"; | 2552 "profile.extensions.activity_log.watchdog_extension_active"; |
2544 | 2553 |
2545 // A dictionary pref which maps profile names to dictionary values which hold | 2554 // A dictionary pref which maps profile names to dictionary values which hold |
2546 // hashes of profile prefs that we track to detect changes that happen outside | 2555 // hashes of profile prefs that we track to detect changes that happen outside |
2547 // of Chrome. | 2556 // of Chrome. |
2548 const char kProfilePreferenceHashes[] = "profile.preference_hashes"; | 2557 const char kProfilePreferenceHashes[] = "profile.preference_hashes"; |
2549 | 2558 |
2550 // Stores a pair of local time and corresponding network time to bootstrap | 2559 // Stores a pair of local time and corresponding network time to bootstrap |
2551 // network time tracker when browser starts. | 2560 // network time tracker when browser starts. |
2552 const char kNetworkTimeMapping[] = "profile.network_time_mapping"; | 2561 const char kNetworkTimeMapping[] = "profile.network_time_mapping"; |
2553 | 2562 |
2554 } // namespace prefs | 2563 } // namespace prefs |
OLD | NEW |