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_CONTENT_SETTINGS_CONTENT_SETTINGS_CUSTOM_EXTENSION_PROVID
ER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_CUSTOM_E
XTENSION_PROVIDER_H_ |
6 #define CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_CUSTOM_EXTENSION_PROVID
ER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_CUSTOM_E
XTENSION_PROVIDER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "chrome/browser/extensions/api/content_settings/content_settings_store.
h" | 11 #include "chrome/browser/extensions/api/content_settings/content_settings_store.
h" |
12 #include "components/content_settings/core/browser/content_settings_observable_p
rovider.h" | 12 #include "components/content_settings/core/browser/content_settings_observable_p
rovider.h" |
13 | 13 |
14 namespace content_settings { | 14 namespace content_settings { |
15 | 15 |
16 // A content settings provider which manages settings defined by extensions. | 16 // A content settings provider which manages settings defined by extensions. |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 bool incognito_; | 49 bool incognito_; |
50 | 50 |
51 // The backend storing content setting rules defined by extensions. | 51 // The backend storing content setting rules defined by extensions. |
52 scoped_refptr<extensions::ContentSettingsStore> extensions_settings_; | 52 scoped_refptr<extensions::ContentSettingsStore> extensions_settings_; |
53 | 53 |
54 DISALLOW_COPY_AND_ASSIGN(CustomExtensionProvider); | 54 DISALLOW_COPY_AND_ASSIGN(CustomExtensionProvider); |
55 }; | 55 }; |
56 | 56 |
57 } // namespace content_settings | 57 } // namespace content_settings |
58 | 58 |
59 #endif // CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_CUSTOM_EXTENSION_PRO
VIDER_H_ | 59 #endif // CHROME_BROWSER_EXTENSIONS_API_CONTENT_SETTINGS_CONTENT_SETTINGS_CUSTO
M_EXTENSION_PROVIDER_H_ |
OLD | NEW |