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

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: updates 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 1089 matching lines...) Expand 10 before | Expand all | Expand 10 after
1100 // The email address of the account used to authenticate with the Cloud Print 1100 // The email address of the account used to authenticate with the Cloud Print
1101 // server. 1101 // server.
1102 const char kCloudPrintEmail[] = "cloud_print.email"; 1102 const char kCloudPrintEmail[] = "cloud_print.email";
1103 // Settings specific to underlying print system. 1103 // Settings specific to underlying print system.
1104 const char kCloudPrintPrintSystemSettings[] = 1104 const char kCloudPrintPrintSystemSettings[] =
1105 "cloud_print.print_system_settings"; 1105 "cloud_print.print_system_settings";
1106 1106
1107 // Used by the service process to determine if the remoting host is enabled. 1107 // Used by the service process to determine if the remoting host is enabled.
1108 const char kRemotingHostEnabled[] = "remoting.host_enabled"; 1108 const char kRemotingHostEnabled[] = "remoting.host_enabled";
1109 1109
1110 // Boolean to disable proxy altogether. If true, other proxy 1110 // Integer to specify the type of proxy settings.
1111 // preferences are ignored. 1111 // See ProxyPrefs for possible values and interactions with the other proxy
1112 const char kNoProxyServer[] = "proxy.disabled"; 1112 // preferences.
1113 // Boolean specifying if proxy should be auto-detected. 1113 const char kProxyServerMode[] = "proxy.mode";
1114 const char kProxyAutoDetect[] = "proxy.auto_detect";
1115 // String specifying the proxy server. For a specification of the expected 1114 // String specifying the proxy server. For a specification of the expected
1116 // syntax see net::ProxyConfig::ProxyRules::ParseFromString(). 1115 // syntax see net::ProxyConfig::ProxyRules::ParseFromString().
1117 const char kProxyServer[] = "proxy.server"; 1116 const char kProxyServer[] = "proxy.server";
1118 // URL to the proxy .pac file. 1117 // URL to the proxy .pac file.
1119 const char kProxyPacUrl[] = "proxy.pac_url"; 1118 const char kProxyPacUrl[] = "proxy.pac_url";
1120 // String containing proxy bypass rules. For a specification of the 1119 // String containing proxy bypass rules. For a specification of the
1121 // expected syntax see net::ProxyBypassRules::ParseFromString(). 1120 // expected syntax see net::ProxyBypassRules::ParseFromString().
1122 const char kProxyBypassList[] = "proxy.bypass_list"; 1121 const char kProxyBypassList[] = "proxy.bypass_list";
1123 1122
1124 // Preferences that are exclusivly used to store managed values for default 1123 // Preferences that are exclusivly used to store managed values for default
1125 // content settings. 1124 // content settings.
1126 const char kManagedDefaultCookiesSetting[] = 1125 const char kManagedDefaultCookiesSetting[] =
1127 "profile.managed_default_content_settings.cookies"; 1126 "profile.managed_default_content_settings.cookies";
1128 const char kManagedDefaultImagesSetting[] = 1127 const char kManagedDefaultImagesSetting[] =
1129 "profile.managed_default_content_settings.images"; 1128 "profile.managed_default_content_settings.images";
1130 const char kManagedDefaultJavaScriptSetting[] = 1129 const char kManagedDefaultJavaScriptSetting[] =
1131 "profile.managed_default_content_settings.javascript"; 1130 "profile.managed_default_content_settings.javascript";
1132 const char kManagedDefaultPluginsSetting[] = 1131 const char kManagedDefaultPluginsSetting[] =
1133 "profile.managed_default_content_settings.plugins"; 1132 "profile.managed_default_content_settings.plugins";
1134 const char kManagedDefaultPopupsSetting[] = 1133 const char kManagedDefaultPopupsSetting[] =
1135 "profile.managed_default_content_settings.popups"; 1134 "profile.managed_default_content_settings.popups";
1136 1135
1137 // Dictionary for storing the set of known background pages (keys are extension 1136 // Dictionary for storing the set of known background pages (keys are extension
1138 // IDs of background page owners, value is a boolean that is true if the user 1137 // IDs of background page owners, value is a boolean that is true if the user
1139 // needs to acknowledge this page. 1138 // needs to acknowledge this page.
1140 const char kKnownBackgroundPages[] = "background_pages.known"; 1139 const char kKnownBackgroundPages[] = "background_pages.known";
1141 } // namespace prefs 1140 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698