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

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

Issue 6004003: Introduce a separate preference for 'proxy server mode' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit - alphabetize 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/data/extensions/api_test/proxy/auto/test.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after
1128 // The email address of the account used to authenticate with the Cloud Print 1128 // The email address of the account used to authenticate with the Cloud Print
1129 // server. 1129 // server.
1130 const char kCloudPrintEmail[] = "cloud_print.email"; 1130 const char kCloudPrintEmail[] = "cloud_print.email";
1131 // Settings specific to underlying print system. 1131 // Settings specific to underlying print system.
1132 const char kCloudPrintPrintSystemSettings[] = 1132 const char kCloudPrintPrintSystemSettings[] =
1133 "cloud_print.print_system_settings"; 1133 "cloud_print.print_system_settings";
1134 1134
1135 // Used by the service process to determine if the remoting host is enabled. 1135 // Used by the service process to determine if the remoting host is enabled.
1136 const char kRemotingHostEnabled[] = "remoting.host_enabled"; 1136 const char kRemotingHostEnabled[] = "remoting.host_enabled";
1137 1137
1138 // Boolean to disable proxy altogether. If true, other proxy 1138 // Integer to specify the type of proxy settings.
1139 // preferences are ignored. 1139 // See ProxyPrefs for possible values and interactions with the other proxy
1140 const char kNoProxyServer[] = "proxy.disabled"; 1140 // preferences.
1141 // Boolean specifying if proxy should be auto-detected. 1141 const char kProxyMode[] = "proxy.mode";
1142 const char kProxyAutoDetect[] = "proxy.auto_detect";
1143 // String specifying the proxy server. For a specification of the expected 1142 // String specifying the proxy server. For a specification of the expected
1144 // syntax see net::ProxyConfig::ProxyRules::ParseFromString(). 1143 // syntax see net::ProxyConfig::ProxyRules::ParseFromString().
1145 const char kProxyServer[] = "proxy.server"; 1144 const char kProxyServer[] = "proxy.server";
1146 // URL to the proxy .pac file. 1145 // URL to the proxy .pac file.
1147 const char kProxyPacUrl[] = "proxy.pac_url"; 1146 const char kProxyPacUrl[] = "proxy.pac_url";
1148 // String containing proxy bypass rules. For a specification of the 1147 // String containing proxy bypass rules. For a specification of the
1149 // expected syntax see net::ProxyBypassRules::ParseFromString(). 1148 // expected syntax see net::ProxyBypassRules::ParseFromString().
1150 const char kProxyBypassList[] = "proxy.bypass_list"; 1149 const char kProxyBypassList[] = "proxy.bypass_list";
1151 1150
1152 // Preferences that are exclusivly used to store managed values for default 1151 // Preferences that are exclusivly used to store managed values for default
1153 // content settings. 1152 // content settings.
1154 const char kManagedDefaultCookiesSetting[] = 1153 const char kManagedDefaultCookiesSetting[] =
1155 "profile.managed_default_content_settings.cookies"; 1154 "profile.managed_default_content_settings.cookies";
1156 const char kManagedDefaultImagesSetting[] = 1155 const char kManagedDefaultImagesSetting[] =
1157 "profile.managed_default_content_settings.images"; 1156 "profile.managed_default_content_settings.images";
1158 const char kManagedDefaultJavaScriptSetting[] = 1157 const char kManagedDefaultJavaScriptSetting[] =
1159 "profile.managed_default_content_settings.javascript"; 1158 "profile.managed_default_content_settings.javascript";
1160 const char kManagedDefaultPluginsSetting[] = 1159 const char kManagedDefaultPluginsSetting[] =
1161 "profile.managed_default_content_settings.plugins"; 1160 "profile.managed_default_content_settings.plugins";
1162 const char kManagedDefaultPopupsSetting[] = 1161 const char kManagedDefaultPopupsSetting[] =
1163 "profile.managed_default_content_settings.popups"; 1162 "profile.managed_default_content_settings.popups";
1164 1163
1165 // Dictionary for storing the set of known background pages (keys are extension 1164 // Dictionary for storing the set of known background pages (keys are extension
1166 // IDs of background page owners, value is a boolean that is true if the user 1165 // IDs of background page owners, value is a boolean that is true if the user
1167 // needs to acknowledge this page. 1166 // needs to acknowledge this page.
1168 const char kKnownBackgroundPages[] = "background_pages.known"; 1167 const char kKnownBackgroundPages[] = "background_pages.known";
1169 } // namespace prefs 1168 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/test/data/extensions/api_test/proxy/auto/test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698