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

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

Issue 142473003: Binds prefetching to the predictive networking privacy option. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding missing namespace Created 6 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
« no previous file with comments | « chrome/chrome_browser.gypi ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "chrome/common/pref_font_webkit_names.h" 8 #include "chrome/common/pref_font_webkit_names.h"
9 9
10 namespace prefs { 10 namespace prefs {
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 // enable multiple profiles. 519 // enable multiple profiles.
520 // BITMASK with possible values (see browser_prefs.cc for enum): 520 // BITMASK with possible values (see browser_prefs.cc for enum):
521 // 0: No preferences migrated. 521 // 0: No preferences migrated.
522 // 1: DNS preferences migrated: kDnsPrefetchingStartupList and HostReferralList 522 // 1: DNS preferences migrated: kDnsPrefetchingStartupList and HostReferralList
523 // 2: Browser window preferences migrated: kDevToolsSplitLocation and 523 // 2: Browser window preferences migrated: kDevToolsSplitLocation and
524 // kBrowserWindowPlacement 524 // kBrowserWindowPlacement
525 const char kMultipleProfilePrefMigration[] = 525 const char kMultipleProfilePrefMigration[] =
526 "local_state.multiple_profile_prefs_version"; 526 "local_state.multiple_profile_prefs_version";
527 527
528 // A boolean pref set to true if prediction of network actions is allowed. 528 // A boolean pref set to true if prediction of network actions is allowed.
529 // Actions include DNS prefetching, TCP and SSL preconnection, and prerendering 529 // Actions include DNS prefetching, TCP and SSL preconnection, prerendering
530 // of web pages. 530 // of web pages, and resource prefetching.
531 // NOTE: The "dns_prefetching.enabled" value is used so that historical user 531 // NOTE: The "dns_prefetching.enabled" value is used so that historical user
532 // preferences are not lost. 532 // preferences are not lost.
533 const char kNetworkPredictionEnabled[] = "dns_prefetching.enabled"; 533 const char kNetworkPredictionEnabled[] = "dns_prefetching.enabled";
534 534
535 // An integer representing the state of the default apps installation process. 535 // An integer representing the state of the default apps installation process.
536 // This value is persisted in the profile's user preferences because the process 536 // This value is persisted in the profile's user preferences because the process
537 // is async, and the user may have stopped chrome in the middle. The next time 537 // is async, and the user may have stopped chrome in the middle. The next time
538 // the profile is opened, the process will continue from where it left off. 538 // the profile is opened, the process will continue from where it left off.
539 // 539 //
540 // See possible values in external_provider_impl.cc. 540 // See possible values in external_provider_impl.cc.
(...skipping 2144 matching lines...) Expand 10 before | Expand all | Expand 10 after
2685 2685
2686 // The number of seconds since epoch that the OS password was last changed. 2686 // The number of seconds since epoch that the OS password was last changed.
2687 const char kOsPasswordLastChanged[] = 2687 const char kOsPasswordLastChanged[] =
2688 "password_manager.os_password_last_changed"; 2688 "password_manager.os_password_last_changed";
2689 #endif 2689 #endif
2690 2690
2691 // Whether DNS Quick Check is disabled in proxy resolution. 2691 // Whether DNS Quick Check is disabled in proxy resolution.
2692 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2692 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2693 2693
2694 } // namespace prefs 2694 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698