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/files/file_util.h" | 9 #include "base/files/file_util.h" |
10 #include "base/metrics/histogram_macros.h" | 10 #include "base/metrics/histogram_macros.h" |
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 | 106 |
107 #if BUILDFLAG(ENABLE_BACKGROUND) | 107 #if BUILDFLAG(ENABLE_BACKGROUND) |
108 #include "chrome/browser/background/background_mode_manager.h" | 108 #include "chrome/browser/background/background_mode_manager.h" |
109 #endif | 109 #endif |
110 | 110 |
111 #if defined(ENABLE_EXTENSIONS) | 111 #if defined(ENABLE_EXTENSIONS) |
112 #include "chrome/browser/accessibility/animation_policy_prefs.h" | 112 #include "chrome/browser/accessibility/animation_policy_prefs.h" |
113 #include "chrome/browser/apps/shortcut_manager.h" | 113 #include "chrome/browser/apps/shortcut_manager.h" |
114 #include "chrome/browser/extensions/activity_log/activity_log.h" | 114 #include "chrome/browser/extensions/activity_log/activity_log.h" |
115 #include "chrome/browser/extensions/api/commands/command_service.h" | 115 #include "chrome/browser/extensions/api/commands/command_service.h" |
116 #include "chrome/browser/extensions/api/copresence/copresence_api.h" | |
117 #include "chrome/browser/extensions/api/tabs/tabs_api.h" | 116 #include "chrome/browser/extensions/api/tabs/tabs_api.h" |
118 #include "chrome/browser/extensions/component_migration_helper.h" | 117 #include "chrome/browser/extensions/component_migration_helper.h" |
119 #include "chrome/browser/extensions/extension_web_ui.h" | 118 #include "chrome/browser/extensions/extension_web_ui.h" |
120 #include "chrome/browser/extensions/launch_util.h" | 119 #include "chrome/browser/extensions/launch_util.h" |
121 #include "chrome/browser/signin/easy_unlock_service.h" | 120 #include "chrome/browser/signin/easy_unlock_service.h" |
122 #include "chrome/browser/ui/toolbar/toolbar_actions_bar.h" | 121 #include "chrome/browser/ui/toolbar/toolbar_actions_bar.h" |
123 #include "chrome/browser/ui/webui/extensions/extension_settings_handler.h" | 122 #include "chrome/browser/ui/webui/extensions/extension_settings_handler.h" |
124 #include "extensions/browser/api/runtime/runtime_api.h" | 123 #include "extensions/browser/api/runtime/runtime_api.h" |
125 #include "extensions/browser/extension_prefs.h" | 124 #include "extensions/browser/extension_prefs.h" |
126 #endif // defined(ENABLE_EXTENSIONS) | 125 #endif // defined(ENABLE_EXTENSIONS) |
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 policy::URLBlacklistManager::RegisterProfilePrefs(registry); | 483 policy::URLBlacklistManager::RegisterProfilePrefs(registry); |
485 certificate_transparency::CTPolicyManager::RegisterPrefs(registry); | 484 certificate_transparency::CTPolicyManager::RegisterPrefs(registry); |
486 | 485 |
487 #if defined(ENABLE_EXTENSIONS) | 486 #if defined(ENABLE_EXTENSIONS) |
488 EasyUnlockService::RegisterProfilePrefs(registry); | 487 EasyUnlockService::RegisterProfilePrefs(registry); |
489 ExtensionWebUI::RegisterProfilePrefs(registry); | 488 ExtensionWebUI::RegisterProfilePrefs(registry); |
490 RegisterAnimationPolicyPrefs(registry); | 489 RegisterAnimationPolicyPrefs(registry); |
491 ToolbarActionsBar::RegisterProfilePrefs(registry); | 490 ToolbarActionsBar::RegisterProfilePrefs(registry); |
492 extensions::ActivityLog::RegisterProfilePrefs(registry); | 491 extensions::ActivityLog::RegisterProfilePrefs(registry); |
493 extensions::ComponentMigrationHelper::RegisterPrefs(registry); | 492 extensions::ComponentMigrationHelper::RegisterPrefs(registry); |
494 extensions::CopresenceService::RegisterProfilePrefs(registry); | |
495 extensions::ExtensionPrefs::RegisterProfilePrefs(registry); | 493 extensions::ExtensionPrefs::RegisterProfilePrefs(registry); |
496 extensions::launch_util::RegisterProfilePrefs(registry); | 494 extensions::launch_util::RegisterProfilePrefs(registry); |
497 extensions::RuntimeAPI::RegisterPrefs(registry); | 495 extensions::RuntimeAPI::RegisterPrefs(registry); |
498 #endif // defined(ENABLE_EXTENSIONS) | 496 #endif // defined(ENABLE_EXTENSIONS) |
499 | 497 |
500 #if defined(ENABLE_NOTIFICATIONS) | 498 #if defined(ENABLE_NOTIFICATIONS) |
501 NotifierStateTracker::RegisterProfilePrefs(registry); | 499 NotifierStateTracker::RegisterProfilePrefs(registry); |
502 #endif | 500 #endif |
503 | 501 |
504 #if defined(ENABLE_NOTIFICATIONS) && defined(ENABLE_EXTENSIONS) && \ | 502 #if defined(ENABLE_NOTIFICATIONS) && defined(ENABLE_EXTENSIONS) && \ |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
729 profile_prefs->ClearPref(kCheckDefaultBrowser); | 727 profile_prefs->ClearPref(kCheckDefaultBrowser); |
730 | 728 |
731 // Added 5/2016. | 729 // Added 5/2016. |
732 profile_prefs->ClearPref(kDesktopSearchRedirectionInfobarShownPref); | 730 profile_prefs->ClearPref(kDesktopSearchRedirectionInfobarShownPref); |
733 | 731 |
734 // Added 7/2016. | 732 // Added 7/2016. |
735 DeleteWebRTCIdentityStoreDB(profile); | 733 DeleteWebRTCIdentityStoreDB(profile); |
736 } | 734 } |
737 | 735 |
738 } // namespace chrome | 736 } // namespace chrome |
OLD | NEW |