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

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: 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 1178 matching lines...) Expand 10 before | Expand all | Expand 10 after
1189 // The email address of the account used to authenticate with the Cloud Print 1189 // The email address of the account used to authenticate with the Cloud Print
1190 // server. 1190 // server.
1191 const char kCloudPrintEmail[] = "cloud_print.email"; 1191 const char kCloudPrintEmail[] = "cloud_print.email";
1192 // Settings specific to underlying print system. 1192 // Settings specific to underlying print system.
1193 const char kCloudPrintPrintSystemSettings[] = 1193 const char kCloudPrintPrintSystemSettings[] =
1194 "cloud_print.print_system_settings"; 1194 "cloud_print.print_system_settings";
1195 1195
1196 // Used by the service process to determine if the remoting host is enabled. 1196 // Used by the service process to determine if the remoting host is enabled.
1197 const char kRemotingHostEnabled[] = "remoting.host_enabled"; 1197 const char kRemotingHostEnabled[] = "remoting.host_enabled";
1198 1198
1199 // Integer to specify the type of proxy settings. 1199 // Preference to story proxy settings.
1200 // See ProxyPrefs for possible values and interactions with the other proxy 1200 const char kProxy[] = "proxy";
1201 // preferences.
1202 const char kProxyMode[] = "proxy.mode";
1203 // String specifying the proxy server. For a specification of the expected
1204 // syntax see net::ProxyConfig::ProxyRules::ParseFromString().
1205 const char kProxyServer[] = "proxy.server";
1206 // URL to the proxy .pac file.
1207 const char kProxyPacUrl[] = "proxy.pac_url";
1208 // String containing proxy bypass rules. For a specification of the
1209 // expected syntax see net::ProxyBypassRules::ParseFromString().
1210 const char kProxyBypassList[] = "proxy.bypass_list";
1211 1201
1212 // Preferences that are exclusivly used to store managed values for default 1202 // Preferences that are exclusivly used to store managed values for default
1213 // content settings. 1203 // content settings.
1214 const char kManagedDefaultCookiesSetting[] = 1204 const char kManagedDefaultCookiesSetting[] =
1215 "profile.managed_default_content_settings.cookies"; 1205 "profile.managed_default_content_settings.cookies";
1216 const char kManagedDefaultImagesSetting[] = 1206 const char kManagedDefaultImagesSetting[] =
1217 "profile.managed_default_content_settings.images"; 1207 "profile.managed_default_content_settings.images";
1218 const char kManagedDefaultJavaScriptSetting[] = 1208 const char kManagedDefaultJavaScriptSetting[] =
1219 "profile.managed_default_content_settings.javascript"; 1209 "profile.managed_default_content_settings.javascript";
1220 const char kManagedDefaultPluginsSetting[] = 1210 const char kManagedDefaultPluginsSetting[] =
1221 "profile.managed_default_content_settings.plugins"; 1211 "profile.managed_default_content_settings.plugins";
1222 const char kManagedDefaultPopupsSetting[] = 1212 const char kManagedDefaultPopupsSetting[] =
1223 "profile.managed_default_content_settings.popups"; 1213 "profile.managed_default_content_settings.popups";
1224 1214
1225 // Dictionary for storing the set of known background pages (keys are extension 1215 // Dictionary for storing the set of known background pages (keys are extension
1226 // IDs of background page owners, value is a boolean that is true if the user 1216 // IDs of background page owners, value is a boolean that is true if the user
1227 // needs to acknowledge this page. 1217 // needs to acknowledge this page.
1228 const char kKnownBackgroundPages[] = "background_pages.known"; 1218 const char kKnownBackgroundPages[] = "background_pages.known";
1229 } // namespace prefs 1219 } // namespace prefs
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698