OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_WEBSITE_SETTINGS_REGISTRY_H_ | 5 #ifndef COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_WEBSITE_SETTINGS_REGISTRY_H_ |
6 #define COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_WEBSITE_SETTINGS_REGISTRY_H_ | 6 #define COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_WEBSITE_SETTINGS_REGISTRY_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 WebsiteSettingsInfo::ScopingType scoping_type, | 73 WebsiteSettingsInfo::ScopingType scoping_type, |
74 Platforms platforms, | 74 Platforms platforms, |
75 WebsiteSettingsInfo::IncognitoBehavior incognito_behavior); | 75 WebsiteSettingsInfo::IncognitoBehavior incognito_behavior); |
76 | 76 |
77 const_iterator begin() const; | 77 const_iterator begin() const; |
78 const_iterator end() const; | 78 const_iterator end() const; |
79 | 79 |
80 private: | 80 private: |
81 friend class ContentSettingsRegistryTest; | 81 friend class ContentSettingsRegistryTest; |
82 friend class WebsiteSettingsRegistryTest; | 82 friend class WebsiteSettingsRegistryTest; |
83 friend struct base::DefaultLazyInstanceTraits<WebsiteSettingsRegistry>; | 83 friend struct base::LazyInstanceTraitsBase<WebsiteSettingsRegistry>; |
84 | 84 |
85 WebsiteSettingsRegistry(); | 85 WebsiteSettingsRegistry(); |
86 ~WebsiteSettingsRegistry(); | 86 ~WebsiteSettingsRegistry(); |
87 | 87 |
88 void Init(); | 88 void Init(); |
89 | 89 |
90 Map website_settings_info_; | 90 Map website_settings_info_; |
91 | 91 |
92 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsRegistry); | 92 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsRegistry); |
93 }; | 93 }; |
94 | 94 |
95 } // namespace content_settings | 95 } // namespace content_settings |
96 | 96 |
97 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_WEBSITE_SETTINGS_REGISTRY_H_ | 97 #endif // COMPONENTS_CONTENT_SETTINGS_CORE_BROWSER_WEBSITE_SETTINGS_REGISTRY_H_ |
OLD | NEW |