OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_UI_WEBUI_OPTIONS_WEBSITE_SETTINGS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_WEBSITE_SETTINGS_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_WEBSITE_SETTINGS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_WEBSITE_SETTINGS_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/scoped_observer.h" | 12 #include "base/scoped_observer.h" |
13 #include "chrome/browser/browsing_data/browsing_data_local_storage_helper.h" | 13 #include "chrome/browser/browsing_data/browsing_data_local_storage_helper.h" |
14 #include "chrome/browser/content_settings/content_settings_observer.h" | |
15 #include "chrome/browser/content_settings/host_content_settings_map.h" | 14 #include "chrome/browser/content_settings/host_content_settings_map.h" |
16 #include "chrome/browser/content_settings/local_shared_objects_container.h" | 15 #include "chrome/browser/content_settings/local_shared_objects_container.h" |
17 #include "chrome/browser/ui/webui/options/options_ui.h" | 16 #include "chrome/browser/ui/webui/options/options_ui.h" |
| 17 #include "components/content_settings/core/browser/content_settings_observer.h" |
18 #include "components/power/origin_power_map.h" | 18 #include "components/power/origin_power_map.h" |
19 | 19 |
20 namespace options { | 20 namespace options { |
21 | 21 |
22 class WebsiteSettingsHandler : public content_settings::Observer, | 22 class WebsiteSettingsHandler : public content_settings::Observer, |
23 public OptionsPageUIHandler { | 23 public OptionsPageUIHandler { |
24 public: | 24 public: |
25 WebsiteSettingsHandler(); | 25 WebsiteSettingsHandler(); |
26 virtual ~WebsiteSettingsHandler(); | 26 virtual ~WebsiteSettingsHandler(); |
27 | 27 |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 scoped_ptr<power::OriginPowerMap::Subscription> subscription_; | 138 scoped_ptr<power::OriginPowerMap::Subscription> subscription_; |
139 | 139 |
140 base::WeakPtrFactory<WebsiteSettingsHandler> weak_ptr_factory_; | 140 base::WeakPtrFactory<WebsiteSettingsHandler> weak_ptr_factory_; |
141 | 141 |
142 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsHandler); | 142 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsHandler); |
143 }; | 143 }; |
144 | 144 |
145 } // namespace options | 145 } // namespace options |
146 | 146 |
147 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_WEBSITE_SETTINGS_HANDLER_H_ | 147 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_WEBSITE_SETTINGS_HANDLER_H_ |
OLD | NEW |