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. 13 class CONTENT_EXPORT TracingUI : public WebUIController { 14 public: 15 explicit TracingUI(WebUI* web_ui); 16 virtual ~TracingUI(); 17 void OnMonitoringStateChanged(bool is_monitoring); 18 19 private: 20 DISALLOW_COPY_AND_ASSIGN(TracingUI); 21 }; 22 23 } // namespace content 24 25 #endif // CONTENT_BROWSER_TRACING_UI_H_ 26