Avi Drissman | 4e1b7bc3 | 2022-09-15 14:03:50 | [diff] [blame] | 1 | // Copyright 2013 The Chromium Authors |
[email protected] | 64ccac3 | 2013-01-29 21:40:04 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. | ||||
4 | |||||
mcasas | 6b8c0c8 | 2016-07-29 23:04:35 | [diff] [blame] | 5 | #ifndef CONTENT_BROWSER_WEBRTC_WEBRTC_INTERNALS_UI_H_ |
6 | #define CONTENT_BROWSER_WEBRTC_WEBRTC_INTERNALS_UI_H_ | ||||
[email protected] | 64ccac3 | 2013-01-29 21:40:04 | [diff] [blame] | 7 | |
[email protected] | 64ccac3 | 2013-01-29 21:40:04 | [diff] [blame] | 8 | #include "content/public/browser/web_ui_controller.h" |
Giovanni Ortuño Urquidi | 69717b6 | 2022-05-24 01:29:34 | [diff] [blame] | 9 | #include "content/public/browser/webui_config.h" |
10 | #include "content/public/common/url_constants.h" | ||||
[email protected] | 64ccac3 | 2013-01-29 21:40:04 | [diff] [blame] | 11 | |
12 | namespace content { | ||||
13 | |||||
Giovanni Ortuño Urquidi | 69717b6 | 2022-05-24 01:29:34 | [diff] [blame] | 14 | class WebRTCInternalsUI; |
15 | |||||
16 | // The WebUIConfig for the chrome://webrtc-internals page. | ||||
17 | class WebRTCInternalsUIConfig : public DefaultWebUIConfig<WebRTCInternalsUI> { | ||||
18 | public: | ||||
19 | WebRTCInternalsUIConfig() | ||||
20 | : DefaultWebUIConfig(kChromeUIScheme, kChromeUIWebRTCInternalsHost) {} | ||||
21 | }; | ||||
22 | |||||
[email protected] | 64ccac3 | 2013-01-29 21:40:04 | [diff] [blame] | 23 | // The implementation for the chrome://webrtc-internals page. |
24 | class WebRTCInternalsUI : public WebUIController { | ||||
25 | public: | ||||
26 | explicit WebRTCInternalsUI(WebUI* web_ui); | ||||
27 | |||||
Peter Boström | 9b03653 | 2021-10-28 23:37:28 | [diff] [blame] | 28 | WebRTCInternalsUI(const WebRTCInternalsUI&) = delete; |
29 | WebRTCInternalsUI& operator=(const WebRTCInternalsUI&) = delete; | ||||
[email protected] | 64ccac3 | 2013-01-29 21:40:04 | [diff] [blame] | 30 | }; |
31 | |||||
32 | } // namespace content | ||||
33 | |||||
mcasas | 6b8c0c8 | 2016-07-29 23:04:35 | [diff] [blame] | 34 | #endif // CONTENT_BROWSER_WEBRTC_WEBRTC_INTERNALS_UI_H_ |