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

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

Issue 357723003: Implement prediction_options. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 6 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
« 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) 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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 // 2: Browser window preferences migrated: kDevToolsSplitLocation and 404 // 2: Browser window preferences migrated: kDevToolsSplitLocation and
405 // kBrowserWindowPlacement 405 // kBrowserWindowPlacement
406 const char kMultipleProfilePrefMigration[] = 406 const char kMultipleProfilePrefMigration[] =
407 "local_state.multiple_profile_prefs_version"; 407 "local_state.multiple_profile_prefs_version";
408 408
409 // A boolean pref set to true if prediction of network actions is allowed. 409 // A boolean pref set to true if prediction of network actions is allowed.
410 // Actions include DNS prefetching, TCP and SSL preconnection, prerendering 410 // Actions include DNS prefetching, TCP and SSL preconnection, prerendering
411 // of web pages, and resource prefetching. 411 // of web pages, and resource prefetching.
412 // NOTE: The "dns_prefetching.enabled" value is used so that historical user 412 // NOTE: The "dns_prefetching.enabled" value is used so that historical user
413 // preferences are not lost. 413 // preferences are not lost.
414 // TODO(bnc): Remove kNetworkPredictionEnabled once kAllowNetworkPrediction is 414 // TODO(bnc): Remove kNetworkPredictionEnabled once kNetworkPredictionOptions
415 // functioning as per crbug.com/334602. 415 // is functioning as per crbug.com/334602.
416 const char kNetworkPredictionEnabled[] = "dns_prefetching.enabled"; 416 const char kNetworkPredictionEnabled[] = "dns_prefetching.enabled";
417 417
418 // A preference of enum chrome_browser_net::NetworkPredictionOptions shows 418 // A preference of enum chrome_browser_net::NetworkPredictionOptions shows
419 // if prediction of network actions is allowed, depending on network type. 419 // if prediction of network actions is allowed, depending on network type.
420 // Actions include DNS prefetching, TCP and SSL preconnection, prerendering 420 // Actions include DNS prefetching, TCP and SSL preconnection, prerendering
421 // of web pages, and resource prefetching. 421 // of web pages, and resource prefetching.
422 // TODO(bnc): Implement this preference as per crbug.com/334602. 422 // TODO(bnc): Implement this preference as per crbug.com/334602.
423 const char kAllowNetworkPrediction[] = "net.allow_network_prediction"; 423 const char kNetworkPredictionOptions[] = "net.network_prediction_options";
424 424
425 // An integer representing the state of the default apps installation process. 425 // An integer representing the state of the default apps installation process.
426 // This value is persisted in the profile's user preferences because the process 426 // This value is persisted in the profile's user preferences because the process
427 // is async, and the user may have stopped chrome in the middle. The next time 427 // is async, and the user may have stopped chrome in the middle. The next time
428 // the profile is opened, the process will continue from where it left off. 428 // the profile is opened, the process will continue from where it left off.
429 // 429 //
430 // See possible values in external_provider_impl.cc. 430 // See possible values in external_provider_impl.cc.
431 const char kDefaultAppsInstallState[] = "default_apps_install_state"; 431 const char kDefaultAppsInstallState[] = "default_apps_install_state";
432 432
433 // A boolean pref set to true if the Chrome Web Store icons should be hidden 433 // A boolean pref set to true if the Chrome Web Store icons should be hidden
(...skipping 1862 matching lines...) Expand 10 before | Expand all | Expand 10 after
2296 // "mapped_title" entries, detailing the bookmark target URL (if any), the title 2296 // "mapped_title" entries, detailing the bookmark target URL (if any), the title
2297 // given by the PartnerBookmarksProvider and either the user-visible renamed 2297 // given by the PartnerBookmarksProvider and either the user-visible renamed
2298 // title or an empty string if the bookmark node was removed. 2298 // title or an empty string if the bookmark node was removed.
2299 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; 2299 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings";
2300 #endif 2300 #endif
2301 2301
2302 // Whether DNS Quick Check is disabled in proxy resolution. 2302 // Whether DNS Quick Check is disabled in proxy resolution.
2303 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; 2303 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled";
2304 2304
2305 } // namespace prefs 2305 } // 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