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 902 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
913 // String which specifies the last directory that was chosen for uploading | 913 // String which specifies the last directory that was chosen for uploading |
914 // or opening a file. | 914 // or opening a file. |
915 const char kSelectFileLastDirectory[] = "selectfile.last_directory"; | 915 const char kSelectFileLastDirectory[] = "selectfile.last_directory"; |
916 | 916 |
917 // Boolean that specifies if file selection dialogs are shown. | 917 // Boolean that specifies if file selection dialogs are shown. |
918 const char kAllowFileSelectionDialogs[] = "select_file_dialogs.allowed"; | 918 const char kAllowFileSelectionDialogs[] = "select_file_dialogs.allowed"; |
919 | 919 |
920 // Boolean that specifies if remote access features are allowed. | 920 // Boolean that specifies if remote access features are allowed. |
921 const char kChromotingEnabled[] = "chromoting.enabled"; | 921 const char kChromotingEnabled[] = "chromoting.enabled"; |
922 | 922 |
923 // Boolean that specifies if machine is allowed to be shared for remote access. | |
924 const char kChromotingHostEnabled[] = "chromoting.host_enabled"; | |
925 | |
926 // Boolean that specifies if a machine that is shared for remote access is | |
927 // is allowed to accept connections from across a firewall. | |
928 const char kChromotingHostFirewallTraversal[] = | |
929 "chromoting.host_firewall_traversal"; | |
930 | |
931 // Extensions which should be opened upon completion. | 923 // Extensions which should be opened upon completion. |
932 const char kDownloadExtensionsToOpen[] = "download.extensions_to_open"; | 924 const char kDownloadExtensionsToOpen[] = "download.extensions_to_open"; |
933 | 925 |
934 // Integer which specifies the frequency in milliseconds for detecting whether | 926 // Integer which specifies the frequency in milliseconds for detecting whether |
935 // plugin windows are hung. | 927 // plugin windows are hung. |
936 const char kHungPluginDetectFrequency[] = "browser.hung_plugin_detect_freq"; | 928 const char kHungPluginDetectFrequency[] = "browser.hung_plugin_detect_freq"; |
937 | 929 |
938 // Integer which specifies the timeout value to be used for SendMessageTimeout | 930 // Integer which specifies the timeout value to be used for SendMessageTimeout |
939 // to detect a hung plugin window. | 931 // to detect a hung plugin window. |
940 const char kPluginMessageResponseTimeout[] = | 932 const char kPluginMessageResponseTimeout[] = |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1235 // LoginDatabase. | 1227 // LoginDatabase. |
1236 const char kLoginDatabaseMigrated[] = "login_database.migrated"; | 1228 const char kLoginDatabaseMigrated[] = "login_database.migrated"; |
1237 | 1229 |
1238 // The root URL of the cloud print service. | 1230 // The root URL of the cloud print service. |
1239 const char kCloudPrintServiceURL[] = "cloud_print.service_url"; | 1231 const char kCloudPrintServiceURL[] = "cloud_print.service_url"; |
1240 | 1232 |
1241 // The last requested size of the dialog as it was closed. | 1233 // The last requested size of the dialog as it was closed. |
1242 const char kCloudPrintDialogWidth[] = "cloud_print.dialog_size.width"; | 1234 const char kCloudPrintDialogWidth[] = "cloud_print.dialog_size.width"; |
1243 const char kCloudPrintDialogHeight[] = "cloud_print.dialog_size.height"; | 1235 const char kCloudPrintDialogHeight[] = "cloud_print.dialog_size.height"; |
1244 | 1236 |
1245 const char kRemotingHasSetupCompleted[] = "remoting.has_setup_completed"; | |
1246 | |
1247 // The list of BackgroundContents that should be loaded when the browser | 1237 // The list of BackgroundContents that should be loaded when the browser |
1248 // launches. | 1238 // launches. |
1249 const char kRegisteredBackgroundContents[] = "background_contents.registered"; | 1239 const char kRegisteredBackgroundContents[] = "background_contents.registered"; |
1250 | 1240 |
1251 // String that lists supported HTTP authentication schemes. | 1241 // String that lists supported HTTP authentication schemes. |
1252 const char kAuthSchemes[] = "auth.schemes"; | 1242 const char kAuthSchemes[] = "auth.schemes"; |
1253 | 1243 |
1254 // Boolean that specifies whether to disable CNAME lookups when generating | 1244 // Boolean that specifies whether to disable CNAME lookups when generating |
1255 // Kerberos SPN. | 1245 // Kerberos SPN. |
1256 const char kDisableAuthNegotiateCnameLookup[] = | 1246 const char kDisableAuthNegotiateCnameLookup[] = |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1294 // The email address of the account used to authenticate with the Cloud Print | 1284 // The email address of the account used to authenticate with the Cloud Print |
1295 // server. | 1285 // server. |
1296 const char kCloudPrintEmail[] = "cloud_print.email"; | 1286 const char kCloudPrintEmail[] = "cloud_print.email"; |
1297 // Settings specific to underlying print system. | 1287 // Settings specific to underlying print system. |
1298 const char kCloudPrintPrintSystemSettings[] = | 1288 const char kCloudPrintPrintSystemSettings[] = |
1299 "cloud_print.print_system_settings"; | 1289 "cloud_print.print_system_settings"; |
1300 // A boolean indicating whether we should poll for print jobs when don't have | 1290 // A boolean indicating whether we should poll for print jobs when don't have |
1301 // an XMPP connection (false by default). | 1291 // an XMPP connection (false by default). |
1302 const char kCloudPrintEnableJobPoll[] = "cloud_print.enable_job_poll"; | 1292 const char kCloudPrintEnableJobPoll[] = "cloud_print.enable_job_poll"; |
1303 | 1293 |
1304 // Used by the service process to determine if the remoting host is enabled. | |
1305 const char kRemotingHostEnabled[] = "remoting.host_enabled"; | |
1306 | |
1307 // Preference to story proxy settings. | 1294 // Preference to story proxy settings. |
1308 const char kProxy[] = "proxy"; | 1295 const char kProxy[] = "proxy"; |
1309 | 1296 |
1310 // Preferences that are exclusivly used to store managed values for default | 1297 // Preferences that are exclusivly used to store managed values for default |
1311 // content settings. | 1298 // content settings. |
1312 const char kManagedDefaultCookiesSetting[] = | 1299 const char kManagedDefaultCookiesSetting[] = |
1313 "profile.managed_default_content_settings.cookies"; | 1300 "profile.managed_default_content_settings.cookies"; |
1314 const char kManagedDefaultImagesSetting[] = | 1301 const char kManagedDefaultImagesSetting[] = |
1315 "profile.managed_default_content_settings.images"; | 1302 "profile.managed_default_content_settings.images"; |
1316 const char kManagedDefaultJavaScriptSetting[] = | 1303 const char kManagedDefaultJavaScriptSetting[] = |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1359 "custom_handlers.registered_protocol_handlers"; | 1346 "custom_handlers.registered_protocol_handlers"; |
1360 | 1347 |
1361 // List of protocol handlers the user has requested not to be asked about again. | 1348 // List of protocol handlers the user has requested not to be asked about again. |
1362 const char kIgnoredProtocolHandlers[] = | 1349 const char kIgnoredProtocolHandlers[] = |
1363 "custom_handlers.ignored_protocol_handlers"; | 1350 "custom_handlers.ignored_protocol_handlers"; |
1364 | 1351 |
1365 // Whether user-specified handlers for protocols and content types can be | 1352 // Whether user-specified handlers for protocols and content types can be |
1366 // specified. | 1353 // specified. |
1367 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; | 1354 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; |
1368 } // namespace prefs | 1355 } // namespace prefs |
OLD | NEW |