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 1584 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1595 // This preference is specified in the master preference file to suppress the | 1595 // This preference is specified in the master preference file to suppress the |
1596 // sign in promo for some installations. | 1596 // sign in promo for some installations. |
1597 const char kSignInPromoShowOnFirstRunAllowed[] = | 1597 const char kSignInPromoShowOnFirstRunAllowed[] = |
1598 "sync_promo.show_on_first_run_allowed"; | 1598 "sync_promo.show_on_first_run_allowed"; |
1599 | 1599 |
1600 // Boolean that specifies if we should show a bubble in the new tab page. | 1600 // Boolean that specifies if we should show a bubble in the new tab page. |
1601 // The bubble is used to confirm that the user is signed into sync. | 1601 // The bubble is used to confirm that the user is signed into sync. |
1602 const char kSignInPromoShowNTPBubble[] = "sync_promo.show_ntp_bubble"; | 1602 const char kSignInPromoShowNTPBubble[] = "sync_promo.show_ntp_bubble"; |
1603 #endif | 1603 #endif |
1604 | 1604 |
| 1605 #if !defined(OS_CHROMEOS) && !defined(OS_ANDROID) && !defined(OS_IOS) |
| 1606 // Boolean tracking whether the user chose to opt out of the x-device promo. |
| 1607 const char kCrossDevicePromoOptedOut[] = "x_device_promo.opted_out"; |
| 1608 |
| 1609 // Boolean tracking whether the x-device promo is currently active. |
| 1610 const char kCrossDevicePromoActive[] = "x_device_promo.active"; |
| 1611 |
| 1612 // Int64, representing the time when we first observed a single GAIA account in |
| 1613 // the cookie. If the most recent observation does not contain exactly one |
| 1614 // account, this pref does not exist. |
| 1615 const char kCrossDevicePromoObservedSingleAccountCookie[] = |
| 1616 "x_device_promo.single_account_observed"; |
| 1617 |
| 1618 // Int64, representing the time to next call the ListDevices endpoint. |
| 1619 const char kCrossDevicePromoNextFetchListDevicesTime[] = |
| 1620 "x_device_promo.next_list_devices_fetch"; |
| 1621 |
| 1622 // Int containing the number of other devices where the profile's account syncs. |
| 1623 const char kCrossDevicePromoNumDevices[] = "x_device_promo.num_devices"; |
| 1624 |
| 1625 // Int64, representing the time when we last saw activity on another device. |
| 1626 const char kCrossDevicePromoLastDeviceActiveTime[] = |
| 1627 "x_device_promo.last_device_active_time"; |
| 1628 #endif |
| 1629 |
1605 // Create web application shortcut dialog preferences. | 1630 // Create web application shortcut dialog preferences. |
1606 const char kWebAppCreateOnDesktop[] = "browser.web_app.create_on_desktop"; | 1631 const char kWebAppCreateOnDesktop[] = "browser.web_app.create_on_desktop"; |
1607 const char kWebAppCreateInAppsMenu[] = "browser.web_app.create_in_apps_menu"; | 1632 const char kWebAppCreateInAppsMenu[] = "browser.web_app.create_in_apps_menu"; |
1608 const char kWebAppCreateInQuickLaunchBar[] = | 1633 const char kWebAppCreateInQuickLaunchBar[] = |
1609 "browser.web_app.create_in_quick_launch_bar"; | 1634 "browser.web_app.create_in_quick_launch_bar"; |
1610 | 1635 |
1611 // Dictionary that maps Geolocation network provider server URLs to | 1636 // Dictionary that maps Geolocation network provider server URLs to |
1612 // corresponding access token. | 1637 // corresponding access token. |
1613 const char kGeolocationAccessToken[] = "geolocation.access_token"; | 1638 const char kGeolocationAccessToken[] = "geolocation.access_token"; |
1614 | 1639 |
(...skipping 627 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2242 // (name and a list of clients that registered the whitelist). | 2267 // (name and a list of clients that registered the whitelist). |
2243 const char kRegisteredSupervisedUserWhitelists[] = | 2268 const char kRegisteredSupervisedUserWhitelists[] = |
2244 "supervised_users.whitelists"; | 2269 "supervised_users.whitelists"; |
2245 | 2270 |
2246 #if defined(ENABLE_EXTENSIONS) | 2271 #if defined(ENABLE_EXTENSIONS) |
2247 // Policy that indicates how to handle animated images. | 2272 // Policy that indicates how to handle animated images. |
2248 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; | 2273 const char kAnimationPolicy[] = "settings.a11y.animation_policy"; |
2249 #endif | 2274 #endif |
2250 | 2275 |
2251 } // namespace prefs | 2276 } // namespace prefs |
OLD | NEW |