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

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: Extraction undone - as per Mattias' request 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 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after
1117 // The email address of the account used to authenticate with the Cloud Print 1117 // The email address of the account used to authenticate with the Cloud Print
1118 // server. 1118 // server.
1119 const char kCloudPrintEmail[] = "cloud_print.email"; 1119 const char kCloudPrintEmail[] = "cloud_print.email";
1120 // Settings specific to underlying print system. 1120 // Settings specific to underlying print system.
1121 const char kCloudPrintPrintSystemSettings[] = 1121 const char kCloudPrintPrintSystemSettings[] =
1122 "cloud_print.print_system_settings"; 1122 "cloud_print.print_system_settings";
1123 1123
1124 // Used by the service process to determine if the remoting host is enabled. 1124 // Used by the service process to determine if the remoting host is enabled.
1125 const char kRemotingHostEnabled[] = "remoting.host_enabled"; 1125 const char kRemotingHostEnabled[] = "remoting.host_enabled";
1126 1126
1127 // Boolean to disable proxy altogether. If true, other proxy 1127 // Integer to specify the type of proxy settings.
1128 // preferences are ignored. 1128 // See ProxyPrefs for possible values and interactions with the other proxy
1129 const char kNoProxyServer[] = "proxy.disabled"; 1129 // preferences.
1130 // Boolean specifying if proxy should be auto-detected. 1130 const char kProxyMode[] = "proxy.mode";
Mattias Nissler (ping if slow) 2010/12/21 15:54:29 Do we need conversion code for migrating legacy pr
battre (please use the other) 2010/12/21 20:14:09 We have this code in configuration_policy_pref_sto
Mattias Nissler (ping if slow) 2010/12/22 10:22:11 What I meant is whether we need to care about poss
battre 2010/12/22 14:41:16 If a user has set no kProxyMode constant because i
1131 const char kProxyAutoDetect[] = "proxy.auto_detect";
1132 // String specifying the proxy server. For a specification of the expected 1131 // String specifying the proxy server. For a specification of the expected
1133 // syntax see net::ProxyConfig::ProxyRules::ParseFromString(). 1132 // syntax see net::ProxyConfig::ProxyRules::ParseFromString().
1134 const char kProxyServer[] = "proxy.server"; 1133 const char kProxyServer[] = "proxy.server";
1135 // URL to the proxy .pac file. 1134 // URL to the proxy .pac file.
1136 const char kProxyPacUrl[] = "proxy.pac_url"; 1135 const char kProxyPacUrl[] = "proxy.pac_url";
1137 // String containing proxy bypass rules. For a specification of the 1136 // String containing proxy bypass rules. For a specification of the
1138 // expected syntax see net::ProxyBypassRules::ParseFromString(). 1137 // expected syntax see net::ProxyBypassRules::ParseFromString().
1139 const char kProxyBypassList[] = "proxy.bypass_list"; 1138 const char kProxyBypassList[] = "proxy.bypass_list";
1140 1139
1141 // Preferences that are exclusivly used to store managed values for default 1140 // Preferences that are exclusivly used to store managed values for default
1142 // content settings. 1141 // content settings.
1143 const char kManagedDefaultCookiesSetting[] = 1142 const char kManagedDefaultCookiesSetting[] =
1144 "profile.managed_default_content_settings.cookies"; 1143 "profile.managed_default_content_settings.cookies";
1145 const char kManagedDefaultImagesSetting[] = 1144 const char kManagedDefaultImagesSetting[] =
1146 "profile.managed_default_content_settings.images"; 1145 "profile.managed_default_content_settings.images";
1147 const char kManagedDefaultJavaScriptSetting[] = 1146 const char kManagedDefaultJavaScriptSetting[] =
1148 "profile.managed_default_content_settings.javascript"; 1147 "profile.managed_default_content_settings.javascript";
1149 const char kManagedDefaultPluginsSetting[] = 1148 const char kManagedDefaultPluginsSetting[] =
1150 "profile.managed_default_content_settings.plugins"; 1149 "profile.managed_default_content_settings.plugins";
1151 const char kManagedDefaultPopupsSetting[] = 1150 const char kManagedDefaultPopupsSetting[] =
1152 "profile.managed_default_content_settings.popups"; 1151 "profile.managed_default_content_settings.popups";
1153 1152
1154 // Dictionary for storing the set of known background pages (keys are extension 1153 // Dictionary for storing the set of known background pages (keys are extension
1155 // IDs of background page owners, value is a boolean that is true if the user 1154 // IDs of background page owners, value is a boolean that is true if the user
1156 // needs to acknowledge this page. 1155 // needs to acknowledge this page.
1157 const char kKnownBackgroundPages[] = "background_pages.known"; 1156 const char kKnownBackgroundPages[] = "background_pages.known";
1158 } // namespace prefs 1157 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698