OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/memory/linked_ptr.h" | 12 #include "base/memory/linked_ptr.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/time.h" | 14 #include "base/time.h" |
15 #include "base/values.h" | 15 #include "base/values.h" |
16 #include "chrome/browser/extensions/api/content_settings/content_settings_store.
h" | 16 #include "chrome/browser/extensions/api/content_settings/content_settings_store.
h" |
17 #include "chrome/browser/extensions/extension_prefs_scope.h" | 17 #include "chrome/browser/extensions/extension_prefs_scope.h" |
18 #include "chrome/browser/extensions/extension_scoped_prefs.h" | 18 #include "chrome/browser/extensions/extension_scoped_prefs.h" |
19 #include "chrome/browser/media_gallery/media_galleries_preferences.h" | 19 #include "chrome/browser/media_gallery/media_galleries_preferences.h" |
20 #include "chrome/common/extensions/extension.h" | 20 #include "chrome/common/extensions/extension.h" |
21 #include "chrome/common/extensions/url_pattern_set.h" | 21 #include "extensions/common/url_pattern_set.h" |
22 #include "sync/api/string_ordinal.h" | 22 #include "sync/api/string_ordinal.h" |
23 | 23 |
24 class ExtensionPrefValueMap; | 24 class ExtensionPrefValueMap; |
25 class ExtensionSorting; | 25 class ExtensionSorting; |
26 class PrefService; | 26 class PrefService; |
27 class URLPatternSet; | |
28 | 27 |
29 namespace extensions { | 28 namespace extensions { |
30 class ExtensionPrefsUninstallExtension; | 29 class ExtensionPrefsUninstallExtension; |
| 30 class URLPatternSet; |
31 struct ExtensionOmniboxSuggestion; | 31 struct ExtensionOmniboxSuggestion; |
32 | 32 |
33 // Class for managing global and per-extension preferences. | 33 // Class for managing global and per-extension preferences. |
34 // | 34 // |
35 // This class distinguishes the following kinds of preferences: | 35 // This class distinguishes the following kinds of preferences: |
36 // - global preferences: | 36 // - global preferences: |
37 // internal state for the extension system in general, not associated | 37 // internal state for the extension system in general, not associated |
38 // with an individual extension, such as lastUpdateTime. | 38 // with an individual extension, such as lastUpdateTime. |
39 // - per-extension preferences: | 39 // - per-extension preferences: |
40 // meta-preferences describing properties of the extension like | 40 // meta-preferences describing properties of the extension like |
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
614 scoped_refptr<ContentSettingsStore> content_settings_store_; | 614 scoped_refptr<ContentSettingsStore> content_settings_store_; |
615 | 615 |
616 scoped_ptr<TimeProvider> time_provider_; | 616 scoped_ptr<TimeProvider> time_provider_; |
617 | 617 |
618 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefs); | 618 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefs); |
619 }; | 619 }; |
620 | 620 |
621 } // namespace extensions | 621 } // namespace extensions |
622 | 622 |
623 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_H_ | 623 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_H_ |
OLD | NEW |