Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Side by Side Diff: chrome/common/pref_names.cc

Issue 5701003: Intorduce a separate preference for 'proxy server mode' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after
1086 // The email address of the account used to authenticate with the Cloud Print 1086 // The email address of the account used to authenticate with the Cloud Print
1087 // server. 1087 // server.
1088 const char kCloudPrintEmail[] = "cloud_print.email"; 1088 const char kCloudPrintEmail[] = "cloud_print.email";
1089 // Settings specific to underlying print system. 1089 // Settings specific to underlying print system.
1090 const char kCloudPrintPrintSystemSettings[] = 1090 const char kCloudPrintPrintSystemSettings[] =
1091 "cloud_print.print_system_settings"; 1091 "cloud_print.print_system_settings";
1092 1092
1093 // Used by the service process to determine if the remoting host is enabled. 1093 // Used by the service process to determine if the remoting host is enabled.
1094 const char kRemotingHostEnabled[] = "remoting.host_enabled"; 1094 const char kRemotingHostEnabled[] = "remoting.host_enabled";
1095 1095
1096 // Boolean to disable proxy altogether. If true, other proxy 1096 // Integer to specify the type of proxy settings:
1097 // preferences are ignored. 1097 // 0 = Never use a proxy
1098 const char kNoProxyServer[] = "proxy.disabled"; 1098 // 1 = Auto detect proxy settings
1099 // Boolean specifying if proxy should be auto-detected. 1099 // 2 = Manually specify proxy settings
1100 const char kProxyAutoDetect[] = "proxy.auto_detect"; 1100 // 3 = Use system proxy settings
1101 const char kProxyServerMode[] = "proxy.mode";
1101 // String specifying the proxy server. For a specification of the expected 1102 // String specifying the proxy server. For a specification of the expected
1102 // syntax see net::ProxyConfig::ProxyRules::ParseFromString(). 1103 // syntax see net::ProxyConfig::ProxyRules::ParseFromString().
1103 const char kProxyServer[] = "proxy.server"; 1104 const char kProxyServer[] = "proxy.server";
1104 // URL to the proxy .pac file. 1105 // URL to the proxy .pac file.
1105 const char kProxyPacUrl[] = "proxy.pac_url"; 1106 const char kProxyPacUrl[] = "proxy.pac_url";
1106 // String containing proxy bypass rules. For a specification of the 1107 // String containing proxy bypass rules. For a specification of the
1107 // expected syntax see net::ProxyBypassRules::ParseFromString(). 1108 // expected syntax see net::ProxyBypassRules::ParseFromString().
1108 const char kProxyBypassList[] = "proxy.bypass_list"; 1109 const char kProxyBypassList[] = "proxy.bypass_list";
1109 1110
1110 // Preferences that are exclusivly used to store managed values for default 1111 // Preferences that are exclusivly used to store managed values for default
1111 // content settings. 1112 // content settings.
1112 const char kManagedDefaultCookiesSetting[] = 1113 const char kManagedDefaultCookiesSetting[] =
1113 "profile.managed_default_content_settings.cookies"; 1114 "profile.managed_default_content_settings.cookies";
1114 const char kManagedDefaultImagesSetting[] = 1115 const char kManagedDefaultImagesSetting[] =
1115 "profile.managed_default_content_settings.images"; 1116 "profile.managed_default_content_settings.images";
1116 const char kManagedDefaultJavaScriptSetting[] = 1117 const char kManagedDefaultJavaScriptSetting[] =
1117 "profile.managed_default_content_settings.javascript"; 1118 "profile.managed_default_content_settings.javascript";
1118 const char kManagedDefaultPluginsSetting[] = 1119 const char kManagedDefaultPluginsSetting[] =
1119 "profile.managed_default_content_settings.plugins"; 1120 "profile.managed_default_content_settings.plugins";
1120 const char kManagedDefaultPopupsSetting[] = 1121 const char kManagedDefaultPopupsSetting[] =
1121 "profile.managed_default_content_settings.popups"; 1122 "profile.managed_default_content_settings.popups";
1122 1123
1123 // Dictionary for storing the set of known background pages (keys are extension 1124 // Dictionary for storing the set of known background pages (keys are extension
1124 // IDs of background page owners, value is a boolean that is true if the user 1125 // IDs of background page owners, value is a boolean that is true if the user
1125 // needs to acknowledge this page. 1126 // needs to acknowledge this page.
1126 const char kKnownBackgroundPages[] = "background_pages.known"; 1127 const char kKnownBackgroundPages[] = "background_pages.known";
1127 } // namespace prefs 1128 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698