| // Copyright 2017 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #ifndef CONTENT_BROWSER_TRACING_CAST_TRACING_AGENT_H_ |
| #define CONTENT_BROWSER_TRACING_CAST_TRACING_AGENT_H_ |
| |
| #include <memory> |
| #include <set> |
| #include <string> |
| |
| #include "services/tracing/public/cpp/base_agent.h" |
| |
| namespace content { |
| |
| // TODO(crbug.com/839086): Remove once we have replaced the legacy tracing |
| // service with perfetto. |
| class CastTracingAgent : public tracing::BaseAgent { |
| public: |
| CastTracingAgent(); |
| |
| CastTracingAgent(const CastTracingAgent&) = delete; |
| CastTracingAgent& operator=(const CastTracingAgent&) = delete; |
| |
| ~CastTracingAgent() override; |
| |
| private: |
| // tracing::BaseAgent implementation. |
| void GetCategories(std::set<std::string>* category_set) override; |
| }; |
| |
| } // namespace content |
| |
| #endif // CONTENT_BROWSER_TRACING_CAST_TRACING_AGENT_H_ |