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 // NOTE: This will be obsoleted per issue 334602. | |
jkarlin
2014/06/13 11:26:40
Replace above with TODO(bnc): Remove kNetworkPredi
Bence
2014/06/13 13:49:06
Done.
| |
500 const char kNetworkPredictionEnabled[] = "dns_prefetching.enabled"; | 501 const char kNetworkPredictionEnabled[] = "dns_prefetching.enabled"; |
501 | 502 |
503 // An integer pref shows if prediction of network actions is allowed: | |
504 // ALWAYS, NEVER, or WIFI_ONLY. | |
jkarlin
2014/06/13 11:26:40
Suggest pointing to where the enum is defined chro
Bence
2014/06/13 13:49:06
Done.
| |
505 // Actions include DNS prefetching, TCP and SSL preconnection, prerendering | |
506 // of web pages, and resource prefetching. | |
507 // NOTE: This preference is not respected yet. See issue 334602. | |
jkarlin
2014/06/13 11:26:40
Replace NOTE line above with:
TODO(bnc): Implemen
Bence
2014/06/13 13:49:06
Done.
| |
508 const char kAllowNetworkPrediction[] = "allow-network-prediction"; | |
509 | |
502 // An integer representing the state of the default apps installation process. | 510 // 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 | 511 // 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 | 512 // 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. | 513 // the profile is opened, the process will continue from where it left off. |
506 // | 514 // |
507 // See possible values in external_provider_impl.cc. | 515 // See possible values in external_provider_impl.cc. |
508 const char kDefaultAppsInstallState[] = "default_apps_install_state"; | 516 const char kDefaultAppsInstallState[] = "default_apps_install_state"; |
509 | 517 |
510 // A boolean pref set to true if the Chrome Web Store icons should be hidden | 518 // A boolean pref set to true if the Chrome Web Store icons should be hidden |
511 // from the New Tab Page and app launcher. | 519 // 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 | 2379 // "mapped_title" entries, detailing the bookmark target URL (if any), the title |
2372 // given by the PartnerBookmarksProvider and either the user-visible renamed | 2380 // given by the PartnerBookmarksProvider and either the user-visible renamed |
2373 // title or an empty string if the bookmark node was removed. | 2381 // title or an empty string if the bookmark node was removed. |
2374 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; | 2382 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; |
2375 #endif | 2383 #endif |
2376 | 2384 |
2377 // Whether DNS Quick Check is disabled in proxy resolution. | 2385 // Whether DNS Quick Check is disabled in proxy resolution. |
2378 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; | 2386 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; |
2379 | 2387 |
2380 } // namespace prefs | 2388 } // namespace prefs |
OLD | NEW |