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

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

Issue 7342043: Fixed regression: various preferences were not persisted when changed from incognito window (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 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 1305 matching lines...) Expand 10 before | Expand all | Expand 10 after
1316 const char kCloudPrintEmail[] = "cloud_print.email"; 1316 const char kCloudPrintEmail[] = "cloud_print.email";
1317 // Settings specific to underlying print system. 1317 // Settings specific to underlying print system.
1318 const char kCloudPrintPrintSystemSettings[] = 1318 const char kCloudPrintPrintSystemSettings[] =
1319 "cloud_print.print_system_settings"; 1319 "cloud_print.print_system_settings";
1320 // A boolean indicating whether we should poll for print jobs when don't have 1320 // A boolean indicating whether we should poll for print jobs when don't have
1321 // an XMPP connection (false by default). 1321 // an XMPP connection (false by default).
1322 const char kCloudPrintEnableJobPoll[] = "cloud_print.enable_job_poll"; 1322 const char kCloudPrintEnableJobPoll[] = "cloud_print.enable_job_poll";
1323 const char kCloudPrintRobotRefreshToken[] = "cloud_print.robot_refresh_token"; 1323 const char kCloudPrintRobotRefreshToken[] = "cloud_print.robot_refresh_token";
1324 const char kCloudPrintRobotEmail[] = "cloud_print.robot_email"; 1324 const char kCloudPrintRobotEmail[] = "cloud_print.robot_email";
1325 1325
1326 // Preference to story proxy settings. 1326 // Preference to store proxy settings.
1327 const char kProxy[] = "proxy"; 1327 const char kProxy[] = "proxy";
1328 const char kMaxConnectionsPerProxy[] = "net.max_connections_per_proxy"; 1328 const char kMaxConnectionsPerProxy[] = "net.max_connections_per_proxy";
1329 1329
1330 // Preferences that are exclusivly used to store managed values for default 1330 // Preferences that are exclusively used to store managed values for default
1331 // content settings. 1331 // content settings.
1332 const char kManagedDefaultCookiesSetting[] = 1332 const char kManagedDefaultCookiesSetting[] =
1333 "profile.managed_default_content_settings.cookies"; 1333 "profile.managed_default_content_settings.cookies";
1334 const char kManagedDefaultImagesSetting[] = 1334 const char kManagedDefaultImagesSetting[] =
1335 "profile.managed_default_content_settings.images"; 1335 "profile.managed_default_content_settings.images";
1336 const char kManagedDefaultJavaScriptSetting[] = 1336 const char kManagedDefaultJavaScriptSetting[] =
1337 "profile.managed_default_content_settings.javascript"; 1337 "profile.managed_default_content_settings.javascript";
1338 const char kManagedDefaultPluginsSetting[] = 1338 const char kManagedDefaultPluginsSetting[] =
1339 "profile.managed_default_content_settings.plugins"; 1339 "profile.managed_default_content_settings.plugins";
1340 const char kManagedDefaultPopupsSetting[] = 1340 const char kManagedDefaultPopupsSetting[] =
1341 "profile.managed_default_content_settings.popups"; 1341 "profile.managed_default_content_settings.popups";
1342 1342
1343 // Preferences that are exclusivly used to store managed 1343 // Preferences that are exclusively used to store managed
1344 // content settings patterns. 1344 // content settings patterns.
1345 const char kManagedCookiesAllowedForUrls[] = 1345 const char kManagedCookiesAllowedForUrls[] =
1346 "profile.managed_cookies_allowed_for_urls"; 1346 "profile.managed_cookies_allowed_for_urls";
1347 const char kManagedCookiesBlockedForUrls[] = 1347 const char kManagedCookiesBlockedForUrls[] =
1348 "profile.managed_cookies_blocked_for_urls"; 1348 "profile.managed_cookies_blocked_for_urls";
1349 const char kManagedCookiesSessionOnlyForUrls[] = 1349 const char kManagedCookiesSessionOnlyForUrls[] =
1350 "profile.managed_cookies_sessiononly_for_urls"; 1350 "profile.managed_cookies_sessiononly_for_urls";
1351 const char kManagedImagesAllowedForUrls[] = 1351 const char kManagedImagesAllowedForUrls[] =
1352 "profile.managed_images_allowed_for_urls"; 1352 "profile.managed_images_allowed_for_urls";
1353 const char kManagedImagesBlockedForUrls[] = 1353 const char kManagedImagesBlockedForUrls[] =
(...skipping 29 matching lines...) Expand all
1383 // Whether user-specified handlers for protocols and content types can be 1383 // Whether user-specified handlers for protocols and content types can be
1384 // specified. 1384 // specified.
1385 const char kCustomHandlersEnabled[] = "custom_handlers.enabled"; 1385 const char kCustomHandlersEnabled[] = "custom_handlers.enabled";
1386 1386
1387 // Integers that specify the policy refresh rate for device- and user-policy in 1387 // Integers that specify the policy refresh rate for device- and user-policy in
1388 // milliseconds. Not all values are meaningful, so it is clamped to a sane range 1388 // milliseconds. Not all values are meaningful, so it is clamped to a sane range
1389 // by the cloud policy subsystem. 1389 // by the cloud policy subsystem.
1390 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate"; 1390 const char kDevicePolicyRefreshRate[] = "policy.device_refresh_rate";
1391 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate"; 1391 const char kUserPolicyRefreshRate[] = "policy.user_refresh_rate";
1392 } // namespace prefs 1392 } // namespace prefs
OLDNEW
« chrome/browser/prefs/incognito_user_pref_store.cc ('K') | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698