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 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 | 8 |
9 namespace prefs { | 9 namespace prefs { |
10 | 10 |
(...skipping 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 const char kEnableScreenLock[] = "settings.enable_screen_lock"; | 560 const char kEnableScreenLock[] = "settings.enable_screen_lock"; |
561 | 561 |
562 // A boolean pref of whether to show mobile plan notifications. | 562 // A boolean pref of whether to show mobile plan notifications. |
563 const char kShowPlanNotifications[] = | 563 const char kShowPlanNotifications[] = |
564 "settings.internet.mobile.show_plan_notifications"; | 564 "settings.internet.mobile.show_plan_notifications"; |
565 | 565 |
566 // A boolean pref of whether to show 3G promo notification. | 566 // A boolean pref of whether to show 3G promo notification. |
567 const char kShow3gPromoNotification[] = | 567 const char kShow3gPromoNotification[] = |
568 "settings.internet.mobile.show_3g_promo_notification"; | 568 "settings.internet.mobile.show_3g_promo_notification"; |
569 | 569 |
| 570 // Map of timestamps of the last used file browser tasks. |
| 571 const char kLastUsedFileBrowserHandlers[] = |
| 572 "filebrowser.handler.lastused"; |
| 573 |
570 // A boolean pref that uses shared proxies. | 574 // A boolean pref that uses shared proxies. |
571 const char kUseSharedProxies[] = "settings.use_shared_proxies"; | 575 const char kUseSharedProxies[] = "settings.use_shared_proxies"; |
572 | 576 |
573 // A string prefs for OAuth1 token. | 577 // A string prefs for OAuth1 token. |
574 const char kOAuth1Token[] = "settings.account.oauth1_token"; | 578 const char kOAuth1Token[] = "settings.account.oauth1_token"; |
575 | 579 |
576 // A string prefs for OAuth1 secret. | 580 // A string prefs for OAuth1 secret. |
577 const char kOAuth1Secret[] = "settings.account.oauth1_secret"; | 581 const char kOAuth1Secret[] = "settings.account.oauth1_secret"; |
578 #endif // defined(OS_CHROMEOS) | 582 #endif // defined(OS_CHROMEOS) |
579 | 583 |
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1054 // the chrome/browser/download/save_package.h for the possible values. | 1058 // the chrome/browser/download/save_package.h for the possible values. |
1055 const char kSaveFileType[] = "savefile.type"; | 1059 const char kSaveFileType[] = "savefile.type"; |
1056 | 1060 |
1057 // String which specifies the last directory that was chosen for uploading | 1061 // String which specifies the last directory that was chosen for uploading |
1058 // or opening a file. | 1062 // or opening a file. |
1059 const char kSelectFileLastDirectory[] = "selectfile.last_directory"; | 1063 const char kSelectFileLastDirectory[] = "selectfile.last_directory"; |
1060 | 1064 |
1061 // Boolean that specifies if file selection dialogs are shown. | 1065 // Boolean that specifies if file selection dialogs are shown. |
1062 const char kAllowFileSelectionDialogs[] = "select_file_dialogs.allowed"; | 1066 const char kAllowFileSelectionDialogs[] = "select_file_dialogs.allowed"; |
1063 | 1067 |
1064 // Map of timestamps of the last used file browser tasks. | |
1065 const char kLastUsedFileBrowserHandlers[] = | |
1066 "filebrowser.handler.lastused"; | |
1067 | |
1068 // Extensions which should be opened upon completion. | 1068 // Extensions which should be opened upon completion. |
1069 const char kDownloadExtensionsToOpen[] = "download.extensions_to_open"; | 1069 const char kDownloadExtensionsToOpen[] = "download.extensions_to_open"; |
1070 | 1070 |
1071 // Integer which specifies the frequency in milliseconds for detecting whether | 1071 // Integer which specifies the frequency in milliseconds for detecting whether |
1072 // plugin windows are hung. | 1072 // plugin windows are hung. |
1073 const char kHungPluginDetectFrequency[] = "browser.hung_plugin_detect_freq"; | 1073 const char kHungPluginDetectFrequency[] = "browser.hung_plugin_detect_freq"; |
1074 | 1074 |
1075 // Integer which specifies the timeout value to be used for SendMessageTimeout | 1075 // Integer which specifies the timeout value to be used for SendMessageTimeout |
1076 // to detect a hung plugin window. | 1076 // to detect a hung plugin window. |
1077 const char kPluginMessageResponseTimeout[] = | 1077 const char kPluginMessageResponseTimeout[] = |
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1586 // specified. | 1586 // specified. |
1587 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; | 1587 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; |
1588 | 1588 |
1589 // Integers that specify the policy refresh rate for device- and user-policy in | 1589 // Integers that specify the policy refresh rate for device- and user-policy in |
1590 // milliseconds. Not all values are meaningful, so it is clamped to a sane range | 1590 // milliseconds. Not all values are meaningful, so it is clamped to a sane range |
1591 // by the cloud policy subsystem. | 1591 // by the cloud policy subsystem. |
1592 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; | 1592 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; |
1593 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; | 1593 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; |
1594 | 1594 |
1595 } // namespace prefs | 1595 } // namespace prefs |
OLD | NEW |