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

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: Fixed Lint comment 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
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | 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) 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 1194 matching lines...) Expand 10 before | Expand all | Expand 10 after
1205 // The email address of the account used to authenticate with the Cloud Print 1205 // The email address of the account used to authenticate with the Cloud Print
1206 // server. 1206 // server.
1207 const char kCloudPrintEmail[] = "cloud_print.email"; 1207 const char kCloudPrintEmail[] = "cloud_print.email";
1208 // Settings specific to underlying print system. 1208 // Settings specific to underlying print system.
1209 const char kCloudPrintPrintSystemSettings[] = 1209 const char kCloudPrintPrintSystemSettings[] =
1210 "cloud_print.print_system_settings"; 1210 "cloud_print.print_system_settings";
1211 1211
1212 // Used by the service process to determine if the remoting host is enabled. 1212 // Used by the service process to determine if the remoting host is enabled.
1213 const char kRemotingHostEnabled[] = "remoting.host_enabled"; 1213 const char kRemotingHostEnabled[] = "remoting.host_enabled";
1214 1214
1215 // Integer to specify the type of proxy settings. 1215 // Preference to story proxy settings.
1216 // See ProxyPrefs for possible values and interactions with the other proxy 1216 const char kProxy[] = "proxy";
1217 // preferences.
1218 const char kProxyMode[] = "proxy.mode";
1219 // String specifying the proxy server. For a specification of the expected
1220 // syntax see net::ProxyConfig::ProxyRules::ParseFromString().
1221 const char kProxyServer[] = "proxy.server";
1222 // URL to the proxy .pac file.
1223 const char kProxyPacUrl[] = "proxy.pac_url";
1224 // String containing proxy bypass rules. For a specification of the
1225 // expected syntax see net::ProxyBypassRules::ParseFromString().
1226 const char kProxyBypassList[] = "proxy.bypass_list";
1227 1217
1228 // Preferences that are exclusivly used to store managed values for default 1218 // Preferences that are exclusivly used to store managed values for default
1229 // content settings. 1219 // content settings.
1230 const char kManagedDefaultCookiesSetting[] = 1220 const char kManagedDefaultCookiesSetting[] =
1231 "profile.managed_default_content_settings.cookies"; 1221 "profile.managed_default_content_settings.cookies";
1232 const char kManagedDefaultImagesSetting[] = 1222 const char kManagedDefaultImagesSetting[] =
1233 "profile.managed_default_content_settings.images"; 1223 "profile.managed_default_content_settings.images";
1234 const char kManagedDefaultJavaScriptSetting[] = 1224 const char kManagedDefaultJavaScriptSetting[] =
1235 "profile.managed_default_content_settings.javascript"; 1225 "profile.managed_default_content_settings.javascript";
1236 const char kManagedDefaultPluginsSetting[] = 1226 const char kManagedDefaultPluginsSetting[] =
1237 "profile.managed_default_content_settings.plugins"; 1227 "profile.managed_default_content_settings.plugins";
1238 const char kManagedDefaultPopupsSetting[] = 1228 const char kManagedDefaultPopupsSetting[] =
1239 "profile.managed_default_content_settings.popups"; 1229 "profile.managed_default_content_settings.popups";
1240 1230
1241 // Dictionary for storing the set of known background pages (keys are extension 1231 // Dictionary for storing the set of known background pages (keys are extension
1242 // IDs of background page owners, value is a boolean that is true if the user 1232 // IDs of background page owners, value is a boolean that is true if the user
1243 // needs to acknowledge this page. 1233 // needs to acknowledge this page.
1244 const char kKnownBackgroundPages[] = "background_pages.known"; 1234 const char kKnownBackgroundPages[] = "background_pages.known";
1245 } // namespace prefs 1235 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698