OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "extensions/browser/extension_prefs.h" | 5 #include "extensions/browser/extension_prefs.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <iterator> | 10 #include <iterator> |
11 #include <utility> | 11 #include <utility> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/metrics/histogram_macros.h" | 14 #include "base/metrics/histogram_macros.h" |
15 #include "base/prefs/pref_service.h" | |
16 #include "base/strings/string_number_conversions.h" | 15 #include "base/strings/string_number_conversions.h" |
17 #include "base/strings/string_util.h" | 16 #include "base/strings/string_util.h" |
18 #include "base/trace_event/trace_event.h" | 17 #include "base/trace_event/trace_event.h" |
19 #include "build/build_config.h" | 18 #include "build/build_config.h" |
20 #include "components/crx_file/id_util.h" | 19 #include "components/crx_file/id_util.h" |
21 #include "components/pref_registry/pref_registry_syncable.h" | 20 #include "components/pref_registry/pref_registry_syncable.h" |
| 21 #include "components/prefs/pref_service.h" |
22 #include "extensions/browser/app_sorting.h" | 22 #include "extensions/browser/app_sorting.h" |
23 #include "extensions/browser/event_router.h" | 23 #include "extensions/browser/event_router.h" |
24 #include "extensions/browser/extension_pref_store.h" | 24 #include "extensions/browser/extension_pref_store.h" |
25 #include "extensions/browser/extension_prefs_factory.h" | 25 #include "extensions/browser/extension_prefs_factory.h" |
26 #include "extensions/browser/extension_prefs_observer.h" | 26 #include "extensions/browser/extension_prefs_observer.h" |
27 #include "extensions/browser/extension_system.h" | 27 #include "extensions/browser/extension_system.h" |
28 #include "extensions/browser/install_flag.h" | 28 #include "extensions/browser/install_flag.h" |
29 #include "extensions/browser/pref_names.h" | 29 #include "extensions/browser/pref_names.h" |
30 #include "extensions/common/manifest.h" | 30 #include "extensions/common/manifest.h" |
31 #include "extensions/common/permissions/permission_set.h" | 31 #include "extensions/common/permissions/permission_set.h" |
(...skipping 1934 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1966 extension_pref_value_map_->RegisterExtension( | 1966 extension_pref_value_map_->RegisterExtension( |
1967 extension_id, install_time, is_enabled, is_incognito_enabled); | 1967 extension_id, install_time, is_enabled, is_incognito_enabled); |
1968 | 1968 |
1969 FOR_EACH_OBSERVER( | 1969 FOR_EACH_OBSERVER( |
1970 ExtensionPrefsObserver, | 1970 ExtensionPrefsObserver, |
1971 observer_list_, | 1971 observer_list_, |
1972 OnExtensionRegistered(extension_id, install_time, is_enabled)); | 1972 OnExtensionRegistered(extension_id, install_time, is_enabled)); |
1973 } | 1973 } |
1974 | 1974 |
1975 } // namespace extensions | 1975 } // namespace extensions |
OLD | NEW |