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 1191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1202 // Profile avatar and name | 1202 // Profile avatar and name |
1203 const char kProfileAvatarIndex[] = "profile.avatar_index"; | 1203 const char kProfileAvatarIndex[] = "profile.avatar_index"; |
1204 const char kProfileName[] = "profile.name"; | 1204 const char kProfileName[] = "profile.name"; |
1205 | 1205 |
1206 // Whether the profile is managed. | 1206 // Whether the profile is managed. |
1207 const char kProfileIsManaged[] = "profile.is_managed"; | 1207 const char kProfileIsManaged[] = "profile.is_managed"; |
1208 | 1208 |
1209 // The managed user ID. | 1209 // The managed user ID. |
1210 const char kManagedUserId[] = "profile.managed_user_id"; | 1210 const char kManagedUserId[] = "profile.managed_user_id"; |
1211 | 1211 |
| 1212 // 64-bit integer serialization of the base::Time when the user's GAIA info |
| 1213 // was last updated. |
| 1214 const char kProfileGAIAInfoUpdateTime[] = "profile.gaia_info_update_time"; |
| 1215 |
| 1216 // The URL from which the GAIA profile picture was downloaded. This is cached to |
| 1217 // prevent the same picture from being downloaded multiple times. |
| 1218 const char kProfileGAIAInfoPictureURL[] = "profile.gaia_info_picture_url"; |
| 1219 |
| 1220 // Integer that specifies the number of times that we have shown the tutorial |
| 1221 // card in the profile avatar bubble. |
| 1222 const char kProfileAvatarTutorialShown[] = |
| 1223 "profile.avatar_bubble_tutorial_shown"; |
| 1224 |
| 1225 // Boolean that specifies whether we have shown the user manager tutorial. |
| 1226 const char kProfileUserManagerTutorialShown[] = |
| 1227 "profile.user_manager_tutorial_shown"; |
| 1228 |
1212 // Indicates if we've already shown a notification that high contrast | 1229 // Indicates if we've already shown a notification that high contrast |
1213 // mode is on, recommending high-contrast extensions and themes. | 1230 // mode is on, recommending high-contrast extensions and themes. |
1214 const char kInvertNotificationShown[] = "invert_notification_version_2_shown"; | 1231 const char kInvertNotificationShown[] = "invert_notification_version_2_shown"; |
1215 | 1232 |
1216 // Boolean controlling whether printing is enabled. | 1233 // Boolean controlling whether printing is enabled. |
1217 const char kPrintingEnabled[] = "printing.enabled"; | 1234 const char kPrintingEnabled[] = "printing.enabled"; |
1218 | 1235 |
1219 // Boolean controlling whether print preview is disabled. | 1236 // Boolean controlling whether print preview is disabled. |
1220 const char kPrintPreviewDisabled[] = "printing.print_preview_disabled"; | 1237 const char kPrintPreviewDisabled[] = "printing.print_preview_disabled"; |
1221 | 1238 |
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1926 // This preference is specified in the master preference file to suppress the | 1943 // This preference is specified in the master preference file to suppress the |
1927 // sign in promo for some installations. | 1944 // sign in promo for some installations. |
1928 const char kSignInPromoShowOnFirstRunAllowed[] = | 1945 const char kSignInPromoShowOnFirstRunAllowed[] = |
1929 "sync_promo.show_on_first_run_allowed"; | 1946 "sync_promo.show_on_first_run_allowed"; |
1930 | 1947 |
1931 // Boolean that specifies if we should show a bubble in the new tab page. | 1948 // Boolean that specifies if we should show a bubble in the new tab page. |
1932 // The bubble is used to confirm that the user is signed into sync. | 1949 // The bubble is used to confirm that the user is signed into sync. |
1933 const char kSignInPromoShowNTPBubble[] = "sync_promo.show_ntp_bubble"; | 1950 const char kSignInPromoShowNTPBubble[] = "sync_promo.show_ntp_bubble"; |
1934 #endif | 1951 #endif |
1935 | 1952 |
1936 // Integer that specifies the number of times that we have shown the tutorial | |
1937 // card in the profile avatar bubble. | |
1938 const char kProfileAvatarTutorialShown[] = | |
1939 "profile.avatar_bubble_tutorial_shown"; | |
1940 | |
1941 // Time when the user's GAIA info was last updated (represented as an int64). | |
1942 const char kProfileGAIAInfoUpdateTime[] = "profile.gaia_info_update_time"; | |
1943 | |
1944 // The URL from which the GAIA profile picture was downloaded. This is cached to | |
1945 // prevent the same picture from being downloaded multiple times. | |
1946 const char kProfileGAIAInfoPictureURL[] = "profile.gaia_info_picture_url"; | |
1947 | |
1948 // Create web application shortcut dialog preferences. | 1953 // Create web application shortcut dialog preferences. |
1949 const char kWebAppCreateOnDesktop[] = "browser.web_app.create_on_desktop"; | 1954 const char kWebAppCreateOnDesktop[] = "browser.web_app.create_on_desktop"; |
1950 const char kWebAppCreateInAppsMenu[] = "browser.web_app.create_in_apps_menu"; | 1955 const char kWebAppCreateInAppsMenu[] = "browser.web_app.create_in_apps_menu"; |
1951 const char kWebAppCreateInQuickLaunchBar[] = | 1956 const char kWebAppCreateInQuickLaunchBar[] = |
1952 "browser.web_app.create_in_quick_launch_bar"; | 1957 "browser.web_app.create_in_quick_launch_bar"; |
1953 | 1958 |
1954 // Dictionary that maps Geolocation network provider server URLs to | 1959 // Dictionary that maps Geolocation network provider server URLs to |
1955 // corresponding access token. | 1960 // corresponding access token. |
1956 const char kGeolocationAccessToken[] = "geolocation.access_token"; | 1961 const char kGeolocationAccessToken[] = "geolocation.access_token"; |
1957 | 1962 |
(...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2666 // Each list item is a dictionary containing a "url", a "provider_title" and | 2671 // Each list item is a dictionary containing a "url", a "provider_title" and |
2667 // "mapped_title" entries, detailing the bookmark target URL (if any), the title | 2672 // "mapped_title" entries, detailing the bookmark target URL (if any), the title |
2668 // given by the PartnerBookmarksProvider and either the user-visible renamed | 2673 // given by the PartnerBookmarksProvider and either the user-visible renamed |
2669 // title or an empty string if the bookmark node was removed. | 2674 // title or an empty string if the bookmark node was removed. |
2670 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; | 2675 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; |
2671 #endif | 2676 #endif |
2672 | 2677 |
2673 // Whether DNS Quick Check is disabled in proxy resolution. | 2678 // Whether DNS Quick Check is disabled in proxy resolution. |
2674 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; | 2679 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; |
2675 } // namespace prefs | 2680 } // namespace prefs |
OLD | NEW |