| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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/browser/prefs/browser_prefs.h" | 5 #include "chrome/browser/prefs/browser_prefs.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/metrics/histogram_macros.h" | 9 #include "base/metrics/histogram_macros.h" |
| 10 #include "base/trace_event/trace_event.h" | 10 #include "base/trace_event/trace_event.h" |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 #include "chrome/browser/ui/search_engines/keyword_editor_controller.h" | 63 #include "chrome/browser/ui/search_engines/keyword_editor_controller.h" |
| 64 #include "chrome/browser/ui/tabs/pinned_tab_codec.h" | 64 #include "chrome/browser/ui/tabs/pinned_tab_codec.h" |
| 65 #include "chrome/browser/ui/webui/flags_ui.h" | 65 #include "chrome/browser/ui/webui/flags_ui.h" |
| 66 #include "chrome/browser/ui/webui/instant_ui.h" | 66 #include "chrome/browser/ui/webui/instant_ui.h" |
| 67 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" | 67 #include "chrome/browser/ui/webui/ntp/new_tab_ui.h" |
| 68 #include "chrome/browser/ui/webui/plugins/plugins_ui.h" | 68 #include "chrome/browser/ui/webui/plugins/plugins_ui.h" |
| 69 #include "chrome/browser/ui/webui/print_preview/sticky_settings.h" | 69 #include "chrome/browser/ui/webui/print_preview/sticky_settings.h" |
| 70 #include "chrome/common/features.h" | 70 #include "chrome/common/features.h" |
| 71 #include "chrome/common/pref_names.h" | 71 #include "chrome/common/pref_names.h" |
| 72 #include "components/autofill/core/browser/autofill_manager.h" | 72 #include "components/autofill/core/browser/autofill_manager.h" |
| 73 #include "components/certificate_transparency/ct_policy_manager.h" |
| 73 #include "components/content_settings/core/browser/host_content_settings_map.h" | 74 #include "components/content_settings/core/browser/host_content_settings_map.h" |
| 74 #include "components/dom_distiller/core/distilled_page_prefs.h" | 75 #include "components/dom_distiller/core/distilled_page_prefs.h" |
| 75 #include "components/flags_ui/pref_service_flags_storage.h" | 76 #include "components/flags_ui/pref_service_flags_storage.h" |
| 76 #include "components/gcm_driver/gcm_channel_status_syncer.h" | 77 #include "components/gcm_driver/gcm_channel_status_syncer.h" |
| 77 #include "components/metrics/metrics_service.h" | 78 #include "components/metrics/metrics_service.h" |
| 78 #include "components/network_time/network_time_tracker.h" | 79 #include "components/network_time/network_time_tracker.h" |
| 79 #include "components/ntp_snippets/ntp_snippets_service.h" | 80 #include "components/ntp_snippets/ntp_snippets_service.h" |
| 80 #include "components/omnibox/browser/zero_suggest_provider.h" | 81 #include "components/omnibox/browser/zero_suggest_provider.h" |
| 81 #include "components/password_manager/core/browser/password_bubble_experiment.h" | 82 #include "components/password_manager/core/browser/password_bubble_experiment.h" |
| 82 #include "components/password_manager/core/browser/password_manager.h" | 83 #include "components/password_manager/core/browser/password_manager.h" |
| (...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 457 SessionStartupPref::RegisterProfilePrefs(registry); | 458 SessionStartupPref::RegisterProfilePrefs(registry); |
| 458 TemplateURLPrepopulateData::RegisterProfilePrefs(registry); | 459 TemplateURLPrepopulateData::RegisterProfilePrefs(registry); |
| 459 translate::TranslatePrefs::RegisterProfilePrefs(registry); | 460 translate::TranslatePrefs::RegisterProfilePrefs(registry); |
| 460 ZeroSuggestProvider::RegisterProfilePrefs(registry); | 461 ZeroSuggestProvider::RegisterProfilePrefs(registry); |
| 461 | 462 |
| 462 #if defined(ENABLE_APP_LIST) | 463 #if defined(ENABLE_APP_LIST) |
| 463 app_list::AppListPrefs::RegisterProfilePrefs(registry); | 464 app_list::AppListPrefs::RegisterProfilePrefs(registry); |
| 464 #endif | 465 #endif |
| 465 | 466 |
| 466 policy::URLBlacklistManager::RegisterProfilePrefs(registry); | 467 policy::URLBlacklistManager::RegisterProfilePrefs(registry); |
| 468 certificate_transparency::CTPolicyManager::RegisterPrefs(registry); |
| 467 | 469 |
| 468 #if defined(ENABLE_EXTENSIONS) | 470 #if defined(ENABLE_EXTENSIONS) |
| 469 EasyUnlockService::RegisterProfilePrefs(registry); | 471 EasyUnlockService::RegisterProfilePrefs(registry); |
| 470 ExtensionWebUI::RegisterProfilePrefs(registry); | 472 ExtensionWebUI::RegisterProfilePrefs(registry); |
| 471 RegisterAnimationPolicyPrefs(registry); | 473 RegisterAnimationPolicyPrefs(registry); |
| 472 ToolbarActionsBar::RegisterProfilePrefs(registry); | 474 ToolbarActionsBar::RegisterProfilePrefs(registry); |
| 473 extensions::ActivityLog::RegisterProfilePrefs(registry); | 475 extensions::ActivityLog::RegisterProfilePrefs(registry); |
| 474 extensions::ComponentMigrationHelper::RegisterPrefs(registry); | 476 extensions::ComponentMigrationHelper::RegisterPrefs(registry); |
| 475 extensions::CopresenceService::RegisterProfilePrefs(registry); | 477 extensions::CopresenceService::RegisterProfilePrefs(registry); |
| 476 extensions::ExtensionPrefs::RegisterProfilePrefs(registry); | 478 extensions::ExtensionPrefs::RegisterProfilePrefs(registry); |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 707 profile_prefs->SetInt64(prefs::kDefaultBrowserLastDeclined, | 709 profile_prefs->SetInt64(prefs::kDefaultBrowserLastDeclined, |
| 708 install_time.ToInternalValue()); | 710 install_time.ToInternalValue()); |
| 709 } | 711 } |
| 710 profile_prefs->ClearPref(kCheckDefaultBrowser); | 712 profile_prefs->ClearPref(kCheckDefaultBrowser); |
| 711 | 713 |
| 712 // Added 5/2016. | 714 // Added 5/2016. |
| 713 profile_prefs->ClearPref(kDesktopSearchRedirectionInfobarShownPref); | 715 profile_prefs->ClearPref(kDesktopSearchRedirectionInfobarShownPref); |
| 714 } | 716 } |
| 715 | 717 |
| 716 } // namespace chrome | 718 } // namespace chrome |
| OLD | NEW |