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/debug/trace_event.h" | 9 #include "base/debug/trace_event.h" |
10 #include "base/prefs/pref_registry_simple.h" | 10 #include "base/prefs/pref_registry_simple.h" |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h" | 100 #include "chrome/browser/ui/autofill/autofill_dialog_controller.h" |
101 #endif | 101 #endif |
102 | 102 |
103 #if defined(ENABLE_CONFIGURATION_POLICY) | 103 #if defined(ENABLE_CONFIGURATION_POLICY) |
104 #include "components/policy/core/browser/browser_policy_connector.h" | 104 #include "components/policy/core/browser/browser_policy_connector.h" |
105 #include "components/policy/core/browser/url_blacklist_manager.h" | 105 #include "components/policy/core/browser/url_blacklist_manager.h" |
106 #include "components/policy/core/common/policy_statistics_collector.h" | 106 #include "components/policy/core/common/policy_statistics_collector.h" |
107 #endif | 107 #endif |
108 | 108 |
109 #if defined(ENABLE_EXTENSIONS) | 109 #if defined(ENABLE_EXTENSIONS) |
110 #include "apps/prefs.h" | |
111 #include "chrome/browser/extensions/activity_log/activity_log.h" | 110 #include "chrome/browser/extensions/activity_log/activity_log.h" |
112 #include "chrome/browser/extensions/api/commands/command_service.h" | 111 #include "chrome/browser/extensions/api/commands/command_service.h" |
113 #include "chrome/browser/extensions/api/tabs/tabs_api.h" | 112 #include "chrome/browser/extensions/api/tabs/tabs_api.h" |
114 #include "chrome/browser/extensions/extension_web_ui.h" | 113 #include "chrome/browser/extensions/extension_web_ui.h" |
115 #include "chrome/browser/extensions/launch_util.h" | 114 #include "chrome/browser/extensions/launch_util.h" |
116 #include "chrome/browser/signin/easy_unlock_service.h" | 115 #include "chrome/browser/signin/easy_unlock_service.h" |
117 #include "extensions/browser/extension_prefs.h" | 116 #include "extensions/browser/extension_prefs.h" |
118 #endif | 117 #endif |
119 | 118 |
120 #if defined(ENABLE_MANAGED_USERS) | 119 #if defined(ENABLE_MANAGED_USERS) |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 | 396 |
398 #if defined(ENABLE_AUTOFILL_DIALOG) | 397 #if defined(ENABLE_AUTOFILL_DIALOG) |
399 autofill::AutofillDialogController::RegisterProfilePrefs(registry); | 398 autofill::AutofillDialogController::RegisterProfilePrefs(registry); |
400 #endif | 399 #endif |
401 | 400 |
402 #if defined(ENABLE_CONFIGURATION_POLICY) | 401 #if defined(ENABLE_CONFIGURATION_POLICY) |
403 policy::URLBlacklistManager::RegisterProfilePrefs(registry); | 402 policy::URLBlacklistManager::RegisterProfilePrefs(registry); |
404 #endif | 403 #endif |
405 | 404 |
406 #if defined(ENABLE_EXTENSIONS) | 405 #if defined(ENABLE_EXTENSIONS) |
407 apps::RegisterProfilePrefs(registry); | |
408 EasyUnlockService::RegisterProfilePrefs(registry); | 406 EasyUnlockService::RegisterProfilePrefs(registry); |
409 extensions::ActivityLog::RegisterProfilePrefs(registry); | 407 extensions::ActivityLog::RegisterProfilePrefs(registry); |
410 extensions::launch_util::RegisterProfilePrefs(registry); | 408 extensions::launch_util::RegisterProfilePrefs(registry); |
411 ExtensionWebUI::RegisterProfilePrefs(registry); | 409 ExtensionWebUI::RegisterProfilePrefs(registry); |
412 extensions::ExtensionPrefs::RegisterProfilePrefs(registry); | 410 extensions::ExtensionPrefs::RegisterProfilePrefs(registry); |
413 #endif | 411 #endif |
414 | 412 |
415 #if defined(ENABLE_FULL_PRINTING) | 413 #if defined(ENABLE_FULL_PRINTING) |
416 print_dialog_cloud::RegisterProfilePrefs(registry); | 414 print_dialog_cloud::RegisterProfilePrefs(registry); |
417 printing::StickySettings::RegisterProfilePrefs(registry); | 415 printing::StickySettings::RegisterProfilePrefs(registry); |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
612 #if defined(OS_CHROMEOS) | 610 #if defined(OS_CHROMEOS) |
613 chromeos::default_pinned_apps_field_trial::MigratePrefs(local_state); | 611 chromeos::default_pinned_apps_field_trial::MigratePrefs(local_state); |
614 #endif | 612 #endif |
615 | 613 |
616 #if defined(TOOLKIT_VIEWS) | 614 #if defined(TOOLKIT_VIEWS) |
617 MigrateBrowserTabStripPrefs(local_state); | 615 MigrateBrowserTabStripPrefs(local_state); |
618 #endif | 616 #endif |
619 } | 617 } |
620 | 618 |
621 } // namespace chrome | 619 } // namespace chrome |
OLD | NEW |