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