| 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 1632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1643 // This preference is specified in the master preference file to suppress the | 1643 // This preference is specified in the master preference file to suppress the |
| 1644 // sign in promo for some installations. | 1644 // sign in promo for some installations. |
| 1645 const char kSignInPromoShowOnFirstRunAllowed[] = | 1645 const char kSignInPromoShowOnFirstRunAllowed[] = |
| 1646 "sync_promo.show_on_first_run_allowed"; | 1646 "sync_promo.show_on_first_run_allowed"; |
| 1647 | 1647 |
| 1648 // Boolean that specifies if we should show a bubble in the new tab page. | 1648 // Boolean that specifies if we should show a bubble in the new tab page. |
| 1649 // The bubble is used to confirm that the user is signed into sync. | 1649 // The bubble is used to confirm that the user is signed into sync. |
| 1650 const char kSignInPromoShowNTPBubble[] = "sync_promo.show_ntp_bubble"; | 1650 const char kSignInPromoShowNTPBubble[] = "sync_promo.show_ntp_bubble"; |
| 1651 #endif | 1651 #endif |
| 1652 | 1652 |
| 1653 #if !defined(OS_CHROMEOS) && !defined(OS_ANDROID) && !defined(OS_IOS) |
| 1654 // Boolean tracking whether the user chose to opt out of the x-device promo. |
| 1655 const char kCrossDevicePromoOptedOut[] = "x_device_promo.opted_out"; |
| 1656 |
| 1657 // Boolean tracking whether the x-device promo is currently active. |
| 1658 const char kCrossDevicePromoActive[] = "x_device_promo.active"; |
| 1659 |
| 1660 // Int64, representing the time when we first observed a single GAIA account in |
| 1661 // the cookie. If the most recent observation does not contain exactly one |
| 1662 // account, this pref does not exist. |
| 1663 const char kCrossDevicePromoObservedSingleAccountCookie[] = |
| 1664 "x_device_promo.single_account_observed"; |
| 1665 |
| 1666 // Int64, representing the time to next call the ListDevices endpoint. |
| 1667 const char kCrossDevicePromoNextFetchListDevicesTime[] = |
| 1668 "x_device_promo.next_list_devices_fetch"; |
| 1669 |
| 1670 // Int containing the number of other devices where the profile's account syncs. |
| 1671 const char kCrossDevicePromoNumDevices[] = "x_device_promo.num_devices"; |
| 1672 |
| 1673 // Int64, representing the time when we last saw activity on another device. |
| 1674 const char kCrossDevicePromoLastDeviceActiveTime[] = |
| 1675 "x_device_promo.last_device_active_time"; |
| 1676 #endif |
| 1677 |
| 1653 // Create web application shortcut dialog preferences. | 1678 // Create web application shortcut dialog preferences. |
| 1654 const char kWebAppCreateOnDesktop[] = "browser.web_app.create_on_desktop"; | 1679 const char kWebAppCreateOnDesktop[] = "browser.web_app.create_on_desktop"; |
| 1655 const char kWebAppCreateInAppsMenu[] = "browser.web_app.create_in_apps_menu"; | 1680 const char kWebAppCreateInAppsMenu[] = "browser.web_app.create_in_apps_menu"; |
| 1656 const char kWebAppCreateInQuickLaunchBar[] = | 1681 const char kWebAppCreateInQuickLaunchBar[] = |
| 1657 "browser.web_app.create_in_quick_launch_bar"; | 1682 "browser.web_app.create_in_quick_launch_bar"; |
| 1658 | 1683 |
| 1659 // Dictionary that maps Geolocation network provider server URLs to | 1684 // Dictionary that maps Geolocation network provider server URLs to |
| 1660 // corresponding access token. | 1685 // corresponding access token. |
| 1661 const char kGeolocationAccessToken[] = "geolocation.access_token"; | 1686 const char kGeolocationAccessToken[] = "geolocation.access_token"; |
| 1662 | 1687 |
| (...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2294 // (name and a list of clients that registered the whitelist). | 2319 // (name and a list of clients that registered the whitelist). |
| 2295 const char kRegisteredSupervisedUserWhitelists[] = | 2320 const char kRegisteredSupervisedUserWhitelists[] = |
| 2296 "supervised_users.whitelists"; | 2321 "supervised_users.whitelists"; |
| 2297 | 2322 |
| 2298 #if defined(ENABLE_EXTENSIONS) | 2323 #if defined(ENABLE_EXTENSIONS) |
| 2299 // Policy that indicates how to handle animated images. | 2324 // Policy that indicates how to handle animated images. |
| 2300 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; | 2325 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; |
| 2301 #endif | 2326 #endif |
| 2302 | 2327 |
| 2303 } // namespace prefs | 2328 } // namespace prefs |
| OLD | NEW |