OLD | NEW |
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 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
490 // 2: Browser window preferences migrated: kDevToolsSplitLocation and | 490 // 2: Browser window preferences migrated: kDevToolsSplitLocation and |
491 // kBrowserWindowPlacement | 491 // kBrowserWindowPlacement |
492 const char kMultipleProfilePrefMigration[] = | 492 const char kMultipleProfilePrefMigration[] = |
493 "local_state.multiple_profile_prefs_version"; | 493 "local_state.multiple_profile_prefs_version"; |
494 | 494 |
495 // A boolean pref set to true if prediction of network actions is allowed. | 495 // A boolean pref set to true if prediction of network actions is allowed. |
496 // Actions include DNS prefetching, TCP and SSL preconnection, prerendering | 496 // Actions include DNS prefetching, TCP and SSL preconnection, prerendering |
497 // of web pages, and resource prefetching. | 497 // of web pages, and resource prefetching. |
498 // NOTE: The "dns_prefetching.enabled" value is used so that historical user | 498 // NOTE: The "dns_prefetching.enabled" value is used so that historical user |
499 // preferences are not lost. | 499 // preferences are not lost. |
| 500 // TODO(bnc): Remove kNetworkPredictionEnabled once kAllowNetworkPrediction is |
| 501 // functioning as per crbug.com/334602. |
500 const char kNetworkPredictionEnabled[] = "dns_prefetching.enabled"; | 502 const char kNetworkPredictionEnabled[] = "dns_prefetching.enabled"; |
501 | 503 |
| 504 // A preference of enum chrome_browser_net::NetworkPredictionOptions shows |
| 505 // if prediction of network actions is allowed, depending on network type. |
| 506 // Actions include DNS prefetching, TCP and SSL preconnection, prerendering |
| 507 // of web pages, and resource prefetching. |
| 508 // TODO(bnc): Implement this preference as per crbug.com/334602. |
| 509 const char kAllowNetworkPrediction[] = "allow-network-prediction"; |
| 510 |
502 // An integer representing the state of the default apps installation process. | 511 // An integer representing the state of the default apps installation process. |
503 // This value is persisted in the profile's user preferences because the process | 512 // This value is persisted in the profile's user preferences because the process |
504 // is async, and the user may have stopped chrome in the middle. The next time | 513 // is async, and the user may have stopped chrome in the middle. The next time |
505 // the profile is opened, the process will continue from where it left off. | 514 // the profile is opened, the process will continue from where it left off. |
506 // | 515 // |
507 // See possible values in external_provider_impl.cc. | 516 // See possible values in external_provider_impl.cc. |
508 const char kDefaultAppsInstallState[] = "default_apps_install_state"; | 517 const char kDefaultAppsInstallState[] = "default_apps_install_state"; |
509 | 518 |
510 // A boolean pref set to true if the Chrome Web Store icons should be hidden | 519 // A boolean pref set to true if the Chrome Web Store icons should be hidden |
511 // from the New Tab Page and app launcher. | 520 // from the New Tab Page and app launcher. |
(...skipping 1859 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2371 // "mapped_title" entries, detailing the bookmark target URL (if any), the title | 2380 // "mapped_title" entries, detailing the bookmark target URL (if any), the title |
2372 // given by the PartnerBookmarksProvider and either the user-visible renamed | 2381 // given by the PartnerBookmarksProvider and either the user-visible renamed |
2373 // title or an empty string if the bookmark node was removed. | 2382 // title or an empty string if the bookmark node was removed. |
2374 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; | 2383 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; |
2375 #endif | 2384 #endif |
2376 | 2385 |
2377 // Whether DNS Quick Check is disabled in proxy resolution. | 2386 // Whether DNS Quick Check is disabled in proxy resolution. |
2378 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; | 2387 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; |
2379 | 2388 |
2380 } // namespace prefs | 2389 } // namespace prefs |
OLD | NEW |