| 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_PLUGINS_PLUGINS_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_PLUGINS_PLUGINS_UI_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_PLUGINS_PLUGINS_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_PLUGINS_PLUGINS_UI_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "chrome/browser/ui/webui/mojo_web_ui_controller.h" | 9 #include "chrome/browser/ui/webui/mojo_web_ui_controller.h" |
| 10 #include "chrome/browser/ui/webui/plugins/plugins.mojom.h" | 10 #include "chrome/browser/ui/webui/plugins/plugins.mojom.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 static base::RefCountedMemory* GetFaviconResourceBytes( | 28 static base::RefCountedMemory* GetFaviconResourceBytes( |
| 29 ui::ScaleFactor scale_factor); | 29 ui::ScaleFactor scale_factor); |
| 30 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); | 30 static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry); |
| 31 | 31 |
| 32 private: | 32 private: |
| 33 // MojoWebUIController overrides: | 33 // MojoWebUIController overrides: |
| 34 void BindUIHandler( | 34 void BindUIHandler( |
| 35 mojo::InterfaceRequest<mojom::PluginsHandlerMojo> request) override; | 35 mojo::InterfaceRequest<mojom::PluginsHandlerMojo> request) override; |
| 36 | 36 |
| 37 scoped_ptr<PluginsHandler> plugins_handler_; | 37 std::unique_ptr<PluginsHandler> plugins_handler_; |
| 38 | 38 |
| 39 DISALLOW_COPY_AND_ASSIGN(PluginsUI); | 39 DISALLOW_COPY_AND_ASSIGN(PluginsUI); |
| 40 }; | 40 }; |
| 41 | 41 |
| 42 #endif // CHROME_BROWSER_UI_WEBUI_PLUGINS_PLUGINS_UI_H_ | 42 #endif // CHROME_BROWSER_UI_WEBUI_PLUGINS_PLUGINS_UI_H_ |
| OLD | NEW |