| 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_UI_WEBUI_OPTIONS_CONTENT_SETTINGS_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_CONTENT_SETTINGS_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CONTENT_SETTINGS_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_CONTENT_SETTINGS_HANDLER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "chrome/browser/api/prefs/pref_change_registrar.h" | 12 #include "base/prefs/public/pref_change_registrar.h" |
| 13 #include "chrome/browser/pepper_flash_settings_manager.h" | 13 #include "chrome/browser/pepper_flash_settings_manager.h" |
| 14 #include "chrome/browser/ui/webui/options/options_ui.h" | 14 #include "chrome/browser/ui/webui/options/options_ui.h" |
| 15 #include "chrome/common/content_settings.h" |
| 15 #include "chrome/common/content_settings_types.h" | 16 #include "chrome/common/content_settings_types.h" |
| 16 #include "chrome/common/content_settings.h" | |
| 17 #include "content/public/browser/notification_observer.h" | 17 #include "content/public/browser/notification_observer.h" |
| 18 #include "content/public/browser/notification_registrar.h" | 18 #include "content/public/browser/notification_registrar.h" |
| 19 | 19 |
| 20 class HostContentSettingsMap; | 20 class HostContentSettingsMap; |
| 21 class ProtocolHandlerRegistry; | 21 class ProtocolHandlerRegistry; |
| 22 | 22 |
| 23 namespace options { | 23 namespace options { |
| 24 | 24 |
| 25 class ContentSettingsHandler : public OptionsPageUIHandler, | 25 class ContentSettingsHandler : public OptionsPageUIHandler, |
| 26 public PepperFlashSettingsManager::Client { | 26 public PepperFlashSettingsManager::Client { |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 | 183 |
| 184 static const ExContentSettingsTypeNameEntry | 184 static const ExContentSettingsTypeNameEntry |
| 185 kExContentSettingsTypeGroupNames[]; | 185 kExContentSettingsTypeGroupNames[]; |
| 186 | 186 |
| 187 DISALLOW_COPY_AND_ASSIGN(ContentSettingsHandler); | 187 DISALLOW_COPY_AND_ASSIGN(ContentSettingsHandler); |
| 188 }; | 188 }; |
| 189 | 189 |
| 190 } // namespace options | 190 } // namespace options |
| 191 | 191 |
| 192 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CONTENT_SETTINGS_HANDLER_H_ | 192 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_CONTENT_SETTINGS_HANDLER_H_ |
| OLD | NEW |