OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 namespace prefs { | 7 namespace prefs { |
8 | 8 |
9 // *************** PROFILE PREFS *************** | 9 // *************** PROFILE PREFS *************** |
10 // These are attached to the user profile | 10 // These are attached to the user profile |
(...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
475 const char kEnableScreenLock[] = "settings.enable_screen_lock"; | 475 const char kEnableScreenLock[] = "settings.enable_screen_lock"; |
476 | 476 |
477 // A boolean pref of whether to show mobile plan notifications. | 477 // A boolean pref of whether to show mobile plan notifications. |
478 const char kShowPlanNotifications[] = | 478 const char kShowPlanNotifications[] = |
479 "settings.internet.mobile.show_plan_notifications"; | 479 "settings.internet.mobile.show_plan_notifications"; |
480 | 480 |
481 // A boolean pref of whether to show 3G promo notification. | 481 // A boolean pref of whether to show 3G promo notification. |
482 const char kShow3gPromoNotification[] = | 482 const char kShow3gPromoNotification[] = |
483 "settings.internet.mobile.show_3g_promo_notification"; | 483 "settings.internet.mobile.show_3g_promo_notification"; |
484 | 484 |
485 // An integer pref which shows number of times carrier deal promo | |
486 // notification has been shown to user. | |
487 const char kCarrierDealPromoShown[] = | |
488 "settings.internet.mobile.carrier_deal_promo_shown"; | |
489 | |
490 // Map of timestamps of the last used file browser tasks. | 485 // Map of timestamps of the last used file browser tasks. |
491 const char kLastUsedFileBrowserHandlers[] = | 486 const char kLastUsedFileBrowserHandlers[] = |
492 "filebrowser.handler.lastused"; | 487 "filebrowser.handler.lastused"; |
493 #endif // defined(OS_CHROMEOS) | 488 #endif // defined(OS_CHROMEOS) |
494 | 489 |
495 // The disabled messages in IPC logging. | 490 // The disabled messages in IPC logging. |
496 const char kIpcDisabledMessages[] = "ipc_log_disabled_messages"; | 491 const char kIpcDisabledMessages[] = "ipc_log_disabled_messages"; |
497 | 492 |
498 // A boolean pref set to true if a Home button to open the Home pages should be | 493 // A boolean pref set to true if a Home button to open the Home pages should be |
499 // visible on the toolbar. | 494 // visible on the toolbar. |
(...skipping 767 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1267 const char kGSSAPILibraryName[] = "auth.gssapi_library_name"; | 1262 const char kGSSAPILibraryName[] = "auth.gssapi_library_name"; |
1268 | 1263 |
1269 #if defined(OS_CHROMEOS) | 1264 #if defined(OS_CHROMEOS) |
1270 // Dictionary for transient storage of settings that should go into signed | 1265 // Dictionary for transient storage of settings that should go into signed |
1271 // settings storage before owner has been assigned. | 1266 // settings storage before owner has been assigned. |
1272 const char kSignedSettingsTempStorage[] = "signed_settings_temp_storage"; | 1267 const char kSignedSettingsTempStorage[] = "signed_settings_temp_storage"; |
1273 | 1268 |
1274 // The hardware keyboard layout of the device. This should look like | 1269 // The hardware keyboard layout of the device. This should look like |
1275 // "xkb:us::eng". | 1270 // "xkb:us::eng". |
1276 const char kHardwareKeyboardLayout[] = "intl.hardware_keyboard"; | 1271 const char kHardwareKeyboardLayout[] = "intl.hardware_keyboard"; |
| 1272 |
| 1273 // An integer pref which shows number of times carrier deal promo |
| 1274 // notification has been shown to user. |
| 1275 const char kCarrierDealPromoShown[] = |
| 1276 "settings.internet.mobile.carrier_deal_promo_shown"; |
1277 #endif | 1277 #endif |
1278 | 1278 |
1279 // Whether there is a Flash version installed that supports clearing LSO data. | 1279 // Whether there is a Flash version installed that supports clearing LSO data. |
1280 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled"; | 1280 const char kClearPluginLSODataEnabled[] = "browser.clear_lso_data_enabled"; |
1281 | 1281 |
1282 // *************** SERVICE PREFS *************** | 1282 // *************** SERVICE PREFS *************** |
1283 // These are attached to the service process. | 1283 // These are attached to the service process. |
1284 | 1284 |
1285 const char kCloudPrintProxyEnabled[] = "cloud_print.enabled"; | 1285 const char kCloudPrintProxyEnabled[] = "cloud_print.enabled"; |
1286 // The unique id for this instance of the cloud print proxy. | 1286 // The unique id for this instance of the cloud print proxy. |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1355 "custom_handlers.registered_protocol_handlers"; | 1355 "custom_handlers.registered_protocol_handlers"; |
1356 | 1356 |
1357 // List of protocol handlers the user has requested not to be asked about again. | 1357 // List of protocol handlers the user has requested not to be asked about again. |
1358 const char kIgnoredProtocolHandlers[] = | 1358 const char kIgnoredProtocolHandlers[] = |
1359 "custom_handlers.ignored_protocol_handlers"; | 1359 "custom_handlers.ignored_protocol_handlers"; |
1360 | 1360 |
1361 // Whether user-specified handlers for protocols and content types can be | 1361 // Whether user-specified handlers for protocols and content types can be |
1362 // specified. | 1362 // specified. |
1363 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; | 1363 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; |
1364 } // namespace prefs | 1364 } // namespace prefs |
OLD | NEW |