Chromium Code Reviews| Index: chrome/browser/ui/webui/media/webrtc_logs_ui.h |
| diff --git a/chrome/browser/ui/webui/media/webrtc_logs_ui.h b/chrome/browser/ui/webui/media/webrtc_logs_ui.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d7b8f06da828c043036d457f52e1352c40624b22 |
| --- /dev/null |
| +++ b/chrome/browser/ui/webui/media/webrtc_logs_ui.h |
| @@ -0,0 +1,29 @@ |
| +// Copyright 2013 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_UI_WEBUI_MEDIA_WEBRTC_LOGS_UI_H_ |
| +#define CHROME_BROWSER_UI_WEBUI_MEDIA_WEBRTC_LOGS_UI_H_ |
| + |
| +#include "content/public/browser/web_ui_controller.h" |
| +#include "ui/base/layout.h" |
| + |
| +namespace base { |
| +class RefCountedMemory; |
| +} |
| + |
| +class WebRtcLogsUI : public content::WebUIController { |
|
James Hawkins
2013/06/24 15:05:07
nit: Document class.
Henrik Grunell
2013/06/24 17:11:44
Done.
|
| + public: |
| + explicit WebRtcLogsUI(content::WebUI* web_ui); |
| + |
| + static base::RefCountedMemory* GetFaviconResourceBytes( |
| + ui::ScaleFactor scale_factor); |
| + |
| + // Whether WebRTC logs UI has been enabled. |
| + static bool WebRtcLogsUIEnabled(); |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(WebRtcLogsUI); |
| +}; |
| + |
| +#endif // CHROME_BROWSER_UI_WEBUI_MEDIA_WEBRTC_LOGS_UI_H_ |