[email protected] | bcb6ee23d | 2013-02-03 04:06:40 | [diff] [blame] | 1 | // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 | // Use of this source code is governed by a BSD-style license that can be | ||||
3 | // found in the LICENSE file. | ||||
4 | |||||
5 | #ifndef CONTENT_BROWSER_TRACING_UI_H_ | ||||
6 | #define CONTENT_BROWSER_TRACING_UI_H_ | ||||
7 | |||||
8 | #include "content/public/browser/web_ui_controller.h" | ||||
9 | |||||
10 | namespace content { | ||||
11 | |||||
12 | // The C++ back-end for the chrome://tracing webui page. | ||||
[email protected] | 06d5b6e | 2014-01-14 14:55:58 | [diff] [blame^] | 13 | class CONTENT_EXPORT TracingUI : public WebUIController { |
[email protected] | bcb6ee23d | 2013-02-03 04:06:40 | [diff] [blame] | 14 | public: |
15 | explicit TracingUI(WebUI* web_ui); | ||||
[email protected] | 06d5b6e | 2014-01-14 14:55:58 | [diff] [blame^] | 16 | virtual ~TracingUI(); |
17 | void OnMonitoringStateChanged(bool is_monitoring); | ||||
[email protected] | bcb6ee23d | 2013-02-03 04:06:40 | [diff] [blame] | 18 | |
19 | private: | ||||
20 | DISALLOW_COPY_AND_ASSIGN(TracingUI); | ||||
21 | }; | ||||
22 | |||||
23 | } // namespace content | ||||
24 | |||||
25 | #endif // CONTENT_BROWSER_TRACING_UI_H_ |