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

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

Issue 6240013: Make proxy settings one atomic dictionary in the PrefStores such that modifications are atomic. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/out/Debug
Patch Set: Updated to ToT and addressed Matt's comments in base-CL Created 9 years, 10 months 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) 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 1189 matching lines...) Expand 10 before | Expand all | Expand 10 after
1200 // The email address of the account used to authenticate with the Cloud Print 1200 // The email address of the account used to authenticate with the Cloud Print
1201 // server. 1201 // server.
1202 const char kCloudPrintEmail[] = "cloud_print.email"; 1202 const char kCloudPrintEmail[] = "cloud_print.email";
1203 // Settings specific to underlying print system. 1203 // Settings specific to underlying print system.
1204 const char kCloudPrintPrintSystemSettings[] = 1204 const char kCloudPrintPrintSystemSettings[] =
1205 "cloud_print.print_system_settings"; 1205 "cloud_print.print_system_settings";
1206 1206
1207 // Used by the service process to determine if the remoting host is enabled. 1207 // Used by the service process to determine if the remoting host is enabled.
1208 const char kRemotingHostEnabled[] = "remoting.host_enabled"; 1208 const char kRemotingHostEnabled[] = "remoting.host_enabled";
1209 1209
1210 // Integer to specify the type of proxy settings. 1210 // Preference to story proxy settings.
1211 // See ProxyPrefs for possible values and interactions with the other proxy 1211 const char kProxy[] = "proxy";
1212 // preferences.
1213 const char kProxyMode[] = "proxy.mode";
1214 // String specifying the proxy server. For a specification of the expected
1215 // syntax see net::ProxyConfig::ProxyRules::ParseFromString().
1216 const char kProxyServer[] = "proxy.server";
1217 // URL to the proxy .pac file.
1218 const char kProxyPacUrl[] = "proxy.pac_url";
1219 // String containing proxy bypass rules. For a specification of the
1220 // expected syntax see net::ProxyBypassRules::ParseFromString().
1221 const char kProxyBypassList[] = "proxy.bypass_list";
1222 1212
1223 // Preferences that are exclusivly used to store managed values for default 1213 // Preferences that are exclusivly used to store managed values for default
1224 // content settings. 1214 // content settings.
1225 const char kManagedDefaultCookiesSetting[] = 1215 const char kManagedDefaultCookiesSetting[] =
1226 "profile.managed_default_content_settings.cookies"; 1216 "profile.managed_default_content_settings.cookies";
1227 const char kManagedDefaultImagesSetting[] = 1217 const char kManagedDefaultImagesSetting[] =
1228 "profile.managed_default_content_settings.images"; 1218 "profile.managed_default_content_settings.images";
1229 const char kManagedDefaultJavaScriptSetting[] = 1219 const char kManagedDefaultJavaScriptSetting[] =
1230 "profile.managed_default_content_settings.javascript"; 1220 "profile.managed_default_content_settings.javascript";
1231 const char kManagedDefaultPluginsSetting[] = 1221 const char kManagedDefaultPluginsSetting[] =
1232 "profile.managed_default_content_settings.plugins"; 1222 "profile.managed_default_content_settings.plugins";
1233 const char kManagedDefaultPopupsSetting[] = 1223 const char kManagedDefaultPopupsSetting[] =
1234 "profile.managed_default_content_settings.popups"; 1224 "profile.managed_default_content_settings.popups";
1235 1225
1236 // Dictionary for storing the set of known background pages (keys are extension 1226 // Dictionary for storing the set of known background pages (keys are extension
1237 // IDs of background page owners, value is a boolean that is true if the user 1227 // IDs of background page owners, value is a boolean that is true if the user
1238 // needs to acknowledge this page. 1228 // needs to acknowledge this page.
1239 const char kKnownBackgroundPages[] = "background_pages.known"; 1229 const char kKnownBackgroundPages[] = "background_pages.known";
1240 } // namespace prefs 1230 } // namespace prefs
OLDNEW
« chrome/browser/prefs/proxy_prefs.h ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698