| 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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 1882 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2316 // "mapped_title" entries, detailing the bookmark target URL (if any), the title | 2316 // "mapped_title" entries, detailing the bookmark target URL (if any), the title |
| 2317 // given by the PartnerBookmarksProvider and either the user-visible renamed | 2317 // given by the PartnerBookmarksProvider and either the user-visible renamed |
| 2318 // title or an empty string if the bookmark node was removed. | 2318 // title or an empty string if the bookmark node was removed. |
| 2319 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; | 2319 const char kPartnerBookmarkMappings[] = "partnerbookmarks.mappings"; |
| 2320 #endif | 2320 #endif |
| 2321 | 2321 |
| 2322 // Whether DNS Quick Check is disabled in proxy resolution. | 2322 // Whether DNS Quick Check is disabled in proxy resolution. |
| 2323 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; | 2323 const char kQuickCheckEnabled[] = "proxy.quick_check_enabled"; |
| 2324 | 2324 |
| 2325 } // namespace prefs | 2325 } // namespace prefs |
| OLD | NEW |