blob: d172d903390b8d5cd1a0765ceb1a0f70479cd1fe [file] [log] [blame]
// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef COMPONENTS_UI_DEVTOOLS_CONNECTOR_DELEGATE_H_
#define COMPONENTS_UI_DEVTOOLS_CONNECTOR_DELEGATE_H_
#include "services/tracing/public/mojom/perfetto_service.mojom.h"
namespace ui_devtools {
// This is a delegate connector that has individual methods for specific
// interfaces that you need to acquire.
class ConnectorDelegate {
public:
ConnectorDelegate() {}
ConnectorDelegate(const ConnectorDelegate&) = delete;
ConnectorDelegate& operator=(const ConnectorDelegate&) = delete;
virtual ~ConnectorDelegate() {}
virtual void BindTracingConsumerHost(
mojo::PendingReceiver<tracing::mojom::ConsumerHost> receiver) = 0;
};
} // namespace ui_devtools
#endif // COMPONENTS_UI_DEVTOOLS_CONNECTOR_DELEGATE_H_