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 #ifndef EXTENSIONS_BROWSER_EXTENSION_PREFS_H_ | 5 #ifndef EXTENSIONS_BROWSER_EXTENSION_PREFS_H_ |
6 #define EXTENSIONS_BROWSER_EXTENSION_PREFS_H_ | 6 #define EXTENSIONS_BROWSER_EXTENSION_PREFS_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/linked_ptr.h" | 14 #include "base/memory/linked_ptr.h" |
15 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
16 #include "base/time/time.h" | 16 #include "base/time/time.h" |
17 #include "base/values.h" | 17 #include "base/values.h" |
18 #include "components/keyed_service/core/keyed_service.h" | 18 #include "components/keyed_service/core/keyed_service.h" |
19 #include "components/prefs/scoped_user_pref_update.h" | 19 #include "components/prefs/scoped_user_pref_update.h" |
| 20 #include "components/sync/api/string_ordinal.h" |
20 #include "extensions/browser/blacklist_state.h" | 21 #include "extensions/browser/blacklist_state.h" |
21 #include "extensions/browser/extension_scoped_prefs.h" | 22 #include "extensions/browser/extension_scoped_prefs.h" |
22 #include "extensions/browser/install_flag.h" | 23 #include "extensions/browser/install_flag.h" |
23 #include "extensions/common/constants.h" | 24 #include "extensions/common/constants.h" |
24 #include "extensions/common/extension.h" | 25 #include "extensions/common/extension.h" |
25 #include "extensions/common/url_pattern_set.h" | 26 #include "extensions/common/url_pattern_set.h" |
26 #include "sync/api/string_ordinal.h" | |
27 | 27 |
28 class ExtensionPrefValueMap; | 28 class ExtensionPrefValueMap; |
29 class PrefService; | 29 class PrefService; |
30 | 30 |
31 namespace content { | 31 namespace content { |
32 class BrowserContext; | 32 class BrowserContext; |
33 } | 33 } |
34 | 34 |
35 namespace user_prefs { | 35 namespace user_prefs { |
36 class PrefRegistrySyncable; | 36 class PrefRegistrySyncable; |
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
689 bool extensions_disabled_; | 689 bool extensions_disabled_; |
690 | 690 |
691 base::ObserverList<ExtensionPrefsObserver> observer_list_; | 691 base::ObserverList<ExtensionPrefsObserver> observer_list_; |
692 | 692 |
693 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefs); | 693 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefs); |
694 }; | 694 }; |
695 | 695 |
696 } // namespace extensions | 696 } // namespace extensions |
697 | 697 |
698 #endif // EXTENSIONS_BROWSER_EXTENSION_PREFS_H_ | 698 #endif // EXTENSIONS_BROWSER_EXTENSION_PREFS_H_ |
OLD | NEW |