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 911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
922 // the chrome/browser/download/save_package.h for the possible values. | 922 // the chrome/browser/download/save_package.h for the possible values. |
923 const char kSaveFileType[] = "savefile.type"; | 923 const char kSaveFileType[] = "savefile.type"; |
924 | 924 |
925 // String which specifies the last directory that was chosen for uploading | 925 // String which specifies the last directory that was chosen for uploading |
926 // or opening a file. | 926 // or opening a file. |
927 const char kSelectFileLastDirectory[] = "selectfile.last_directory"; | 927 const char kSelectFileLastDirectory[] = "selectfile.last_directory"; |
928 | 928 |
929 // Boolean that specifies if file selection dialogs are shown. | 929 // Boolean that specifies if file selection dialogs are shown. |
930 const char kAllowFileSelectionDialogs[] = "select_file_dialogs.allowed"; | 930 const char kAllowFileSelectionDialogs[] = "select_file_dialogs.allowed"; |
931 | 931 |
932 // Boolean that specifies if remote access features are allowed. | |
933 const char kChromotingEnabled[] = "chromoting.enabled"; | |
934 | |
935 // Boolean that specifies if machine is allowed to be shared for remote access. | |
936 const char kChromotingHostEnabled[] = "chromoting.host_enabled"; | |
937 | |
938 // Boolean that specifies if a machine that is shared for remote access is | |
939 // is allowed to accept connections from across a firewall. | |
940 const char kChromotingHostFirewallTraversal[] = | |
941 "chromoting.host_firewall_traversal"; | |
942 | |
943 // Extensions which should be opened upon completion. | 932 // Extensions which should be opened upon completion. |
944 const char kDownloadExtensionsToOpen[] = "download.extensions_to_open"; | 933 const char kDownloadExtensionsToOpen[] = "download.extensions_to_open"; |
945 | 934 |
946 // Integer which specifies the frequency in milliseconds for detecting whether | 935 // Integer which specifies the frequency in milliseconds for detecting whether |
947 // plugin windows are hung. | 936 // plugin windows are hung. |
948 const char kHungPluginDetectFrequency[] = "browser.hung_plugin_detect_freq"; | 937 const char kHungPluginDetectFrequency[] = "browser.hung_plugin_detect_freq"; |
949 | 938 |
950 // Integer which specifies the timeout value to be used for SendMessageTimeout | 939 // Integer which specifies the timeout value to be used for SendMessageTimeout |
951 // to detect a hung plugin window. | 940 // to detect a hung plugin window. |
952 const char kPluginMessageResponseTimeout[] = | 941 const char kPluginMessageResponseTimeout[] = |
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1247 // LoginDatabase. | 1236 // LoginDatabase. |
1248 const char kLoginDatabaseMigrated[] = "login_database.migrated"; | 1237 const char kLoginDatabaseMigrated[] = "login_database.migrated"; |
1249 | 1238 |
1250 // The root URL of the cloud print service. | 1239 // The root URL of the cloud print service. |
1251 const char kCloudPrintServiceURL[] = "cloud_print.service_url"; | 1240 const char kCloudPrintServiceURL[] = "cloud_print.service_url"; |
1252 | 1241 |
1253 // The last requested size of the dialog as it was closed. | 1242 // The last requested size of the dialog as it was closed. |
1254 const char kCloudPrintDialogWidth[] = "cloud_print.dialog_size.width"; | 1243 const char kCloudPrintDialogWidth[] = "cloud_print.dialog_size.width"; |
1255 const char kCloudPrintDialogHeight[] = "cloud_print.dialog_size.height"; | 1244 const char kCloudPrintDialogHeight[] = "cloud_print.dialog_size.height"; |
1256 | 1245 |
1257 const char kRemotingHasSetupCompleted[] = "remoting.has_setup_completed"; | |
1258 | |
1259 // The list of BackgroundContents that should be loaded when the browser | 1246 // The list of BackgroundContents that should be loaded when the browser |
1260 // launches. | 1247 // launches. |
1261 const char kRegisteredBackgroundContents[] = "background_contents.registered"; | 1248 const char kRegisteredBackgroundContents[] = "background_contents.registered"; |
1262 | 1249 |
1263 // String that lists supported HTTP authentication schemes. | 1250 // String that lists supported HTTP authentication schemes. |
1264 const char kAuthSchemes[] = "auth.schemes"; | 1251 const char kAuthSchemes[] = "auth.schemes"; |
1265 | 1252 |
1266 // Boolean that specifies whether to disable CNAME lookups when generating | 1253 // Boolean that specifies whether to disable CNAME lookups when generating |
1267 // Kerberos SPN. | 1254 // Kerberos SPN. |
1268 const char kDisableAuthNegotiateCnameLookup[] = | 1255 const char kDisableAuthNegotiateCnameLookup[] = |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1308 const char kCloudPrintEmail[] = "cloud_print.email"; | 1295 const char kCloudPrintEmail[] = "cloud_print.email"; |
1309 // Settings specific to underlying print system. | 1296 // Settings specific to underlying print system. |
1310 const char kCloudPrintPrintSystemSettings[] = | 1297 const char kCloudPrintPrintSystemSettings[] = |
1311 "cloud_print.print_system_settings"; | 1298 "cloud_print.print_system_settings"; |
1312 // A boolean indicating whether we should poll for print jobs when don't have | 1299 // A boolean indicating whether we should poll for print jobs when don't have |
1313 // an XMPP connection (false by default). | 1300 // an XMPP connection (false by default). |
1314 const char kCloudPrintEnableJobPoll[] = "cloud_print.enable_job_poll"; | 1301 const char kCloudPrintEnableJobPoll[] = "cloud_print.enable_job_poll"; |
1315 const char kCloudPrintRobotRefreshToken[] = "cloud_print.robot_refresh_token"; | 1302 const char kCloudPrintRobotRefreshToken[] = "cloud_print.robot_refresh_token"; |
1316 const char kCloudPrintRobotEmail[] = "cloud_print.robot_email"; | 1303 const char kCloudPrintRobotEmail[] = "cloud_print.robot_email"; |
1317 | 1304 |
1318 // Used by the service process to determine if the remoting host is enabled. | |
1319 const char kRemotingHostEnabled[] = "remoting.host_enabled"; | |
1320 | |
1321 // Preference to story proxy settings. | 1305 // Preference to story proxy settings. |
1322 const char kProxy[] = "proxy"; | 1306 const char kProxy[] = "proxy"; |
1323 | 1307 |
1324 // Preferences that are exclusivly used to store managed values for default | 1308 // Preferences that are exclusivly used to store managed values for default |
1325 // content settings. | 1309 // content settings. |
1326 const char kManagedDefaultCookiesSetting[] = | 1310 const char kManagedDefaultCookiesSetting[] = |
1327 "profile.managed_default_content_settings.cookies"; | 1311 "profile.managed_default_content_settings.cookies"; |
1328 const char kManagedDefaultImagesSetting[] = | 1312 const char kManagedDefaultImagesSetting[] = |
1329 "profile.managed_default_content_settings.images"; | 1313 "profile.managed_default_content_settings.images"; |
1330 const char kManagedDefaultJavaScriptSetting[] = | 1314 const char kManagedDefaultJavaScriptSetting[] = |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1368 "custom_handlers.registered_protocol_handlers"; | 1352 "custom_handlers.registered_protocol_handlers"; |
1369 | 1353 |
1370 // List of protocol handlers the user has requested not to be asked about again. | 1354 // List of protocol handlers the user has requested not to be asked about again. |
1371 const char kIgnoredProtocolHandlers[] = | 1355 const char kIgnoredProtocolHandlers[] = |
1372 "custom_handlers.ignored_protocol_handlers"; | 1356 "custom_handlers.ignored_protocol_handlers"; |
1373 | 1357 |
1374 // Whether user-specified handlers for protocols and content types can be | 1358 // Whether user-specified handlers for protocols and content types can be |
1375 // specified. | 1359 // specified. |
1376 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; | 1360 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; |
1377 } // namespace prefs | 1361 } // namespace prefs |
OLD | NEW |