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_INTERNAL_EXTENSION_PROV
IDER_H_ | 5 #ifndef CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_INTERNAL_EXTENSION_PROV
IDER_H_ |
6 #define CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_INTERNAL_EXTENSION_PROV
IDER_H_ | 6 #define CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_INTERNAL_EXTENSION_PROV
IDER_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/synchronization/lock.h" | 9 #include "base/synchronization/lock.h" |
10 #include "chrome/browser/content_settings/content_settings_observable_provider.h
" | 10 #include "chrome/browser/content_settings/content_settings_observable_provider.h
" |
11 #include "chrome/browser/content_settings/content_settings_origin_identifier_val
ue_map.h" | 11 #include "chrome/browser/content_settings/content_settings_origin_identifier_val
ue_map.h" |
12 #include "chrome/common/content_settings.h" | 12 #include "components/content_settings/core/common/content_settings.h" |
13 #include "content/public/browser/notification_observer.h" | 13 #include "content/public/browser/notification_observer.h" |
14 #include "content/public/browser/notification_registrar.h" | 14 #include "content/public/browser/notification_registrar.h" |
15 | 15 |
16 class ExtensionService; | 16 class ExtensionService; |
17 | 17 |
18 namespace extensions { | 18 namespace extensions { |
19 class Extension; | 19 class Extension; |
20 } | 20 } |
21 | 21 |
22 namespace content_settings { | 22 namespace content_settings { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 // Used around accesses to the |value_map_| list to guarantee thread safety. | 64 // Used around accesses to the |value_map_| list to guarantee thread safety. |
65 mutable base::Lock lock_; | 65 mutable base::Lock lock_; |
66 scoped_ptr<content::NotificationRegistrar> registrar_; | 66 scoped_ptr<content::NotificationRegistrar> registrar_; |
67 | 67 |
68 DISALLOW_COPY_AND_ASSIGN(InternalExtensionProvider); | 68 DISALLOW_COPY_AND_ASSIGN(InternalExtensionProvider); |
69 }; | 69 }; |
70 | 70 |
71 } // namespace content_settings | 71 } // namespace content_settings |
72 | 72 |
73 #endif // CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_INTERNAL_EXTENSION_P
ROVIDER_H_ | 73 #endif // CHROME_BROWSER_CONTENT_SETTINGS_CONTENT_SETTINGS_INTERNAL_EXTENSION_P
ROVIDER_H_ |
OLD | NEW |