| 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/time.h" | 13 #include "base/time.h" |
| 14 #include "base/values.h" | 14 #include "base/values.h" |
| 15 #include "chrome/browser/extensions/api/content_settings/content_settings_store.
h" | 15 #include "chrome/browser/extensions/api/content_settings/content_settings_store.
h" |
| 16 #include "chrome/browser/extensions/extension_prefs_scope.h" | 16 #include "chrome/browser/extensions/extension_prefs_scope.h" |
| 17 #include "chrome/browser/extensions/extension_scoped_prefs.h" | 17 #include "chrome/browser/extensions/extension_scoped_prefs.h" |
| 18 #include "chrome/browser/extensions/management_policy.h" | 18 #include "chrome/browser/extensions/management_policy.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 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 591 scoped_ptr<ExtensionSorting> extension_sorting_; | 591 scoped_ptr<ExtensionSorting> extension_sorting_; |
| 592 | 592 |
| 593 scoped_refptr<ContentSettingsStore> content_settings_store_; | 593 scoped_refptr<ContentSettingsStore> content_settings_store_; |
| 594 | 594 |
| 595 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefs); | 595 DISALLOW_COPY_AND_ASSIGN(ExtensionPrefs); |
| 596 }; | 596 }; |
| 597 | 597 |
| 598 } // namespace extensions | 598 } // namespace extensions |
| 599 | 599 |
| 600 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_H_ | 600 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_H_ |
| OLD | NEW |