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/host_content_settings_map.h" | 14 #include "chrome/browser/content_settings/host_content_settings_map.h" |
15 #include "chrome/browser/content_settings/local_shared_objects_container.h" | |
16 #include "chrome/browser/ui/webui/options/options_ui.h" | 15 #include "chrome/browser/ui/webui/options/options_ui.h" |
17 #include "components/content_settings/core/browser/content_settings_observer.h" | 16 #include "components/content_settings/core/browser/content_settings_observer.h" |
18 #include "components/power/origin_power_map.h" | 17 #include "components/power/origin_power_map.h" |
19 | 18 |
20 namespace options { | 19 namespace options { |
21 | 20 |
22 class WebsiteSettingsHandler : public content_settings::Observer, | 21 class WebsiteSettingsHandler : public content_settings::Observer, |
23 public OptionsPageUIHandler { | 22 public OptionsPageUIHandler { |
24 public: | 23 public: |
25 WebsiteSettingsHandler(); | 24 WebsiteSettingsHandler(); |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 scoped_ptr<power::OriginPowerMap::Subscription> subscription_; | 140 scoped_ptr<power::OriginPowerMap::Subscription> subscription_; |
142 | 141 |
143 base::WeakPtrFactory<WebsiteSettingsHandler> weak_ptr_factory_; | 142 base::WeakPtrFactory<WebsiteSettingsHandler> weak_ptr_factory_; |
144 | 143 |
145 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsHandler); | 144 DISALLOW_COPY_AND_ASSIGN(WebsiteSettingsHandler); |
146 }; | 145 }; |
147 | 146 |
148 } // namespace options | 147 } // namespace options |
149 | 148 |
150 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_WEBSITE_SETTINGS_HANDLER_H_ | 149 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_WEBSITE_SETTINGS_HANDLER_H_ |
OLD | NEW |