blob: 2b2b02f05cb7c09cbaeb338926c17ba4a19ef66c [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// 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_