| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 CONTENT_BROWSER_TRACING_UI_H_ | 5 #ifndef CONTENT_BROWSER_TRACING_UI_H_ |
| 6 #define CONTENT_BROWSER_TRACING_UI_H_ | 6 #define CONTENT_BROWSER_TRACING_UI_H_ |
| 7 | 7 |
| 8 #include "content/public/browser/web_ui_controller.h" | 8 #include "content/public/browser/web_ui_controller.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| 11 | 11 |
| 12 // The C++ back-end for the chrome://tracing webui page. | 12 // The C++ back-end for the chrome://tracing webui page. |
| 13 class TracingUI : public WebUIController { | 13 class TracingUI : public WebUIController { |
| 14 public: | 14 public: |
| 15 explicit TracingUI(WebUI* web_ui); | 15 explicit TracingUI(WebUI* web_ui); |
| 16 virtual ~TracingUI() OVERRIDE; |
| 17 void OnMonitoringStateChanged(bool is_monitoring); |
| 16 | 18 |
| 17 private: | 19 private: |
| 18 DISALLOW_COPY_AND_ASSIGN(TracingUI); | 20 DISALLOW_COPY_AND_ASSIGN(TracingUI); |
| 19 }; | 21 }; |
| 20 | 22 |
| 21 } // namespace content | 23 } // namespace content |
| 22 | 24 |
| 23 #endif // CONTENT_BROWSER_TRACING_UI_H_ | 25 #endif // CONTENT_BROWSER_TRACING_UI_H_ |
| OLD | NEW |