blob: 29b54025058ba02ec5249dbed5ffde22f0c96643 [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() {}
virtual ~ConnectorDelegate() {}
virtual void BindTracingConsumerHost(
mojo::PendingReceiver<tracing::mojom::ConsumerHost> receiver) = 0;
DISALLOW_COPY_AND_ASSIGN(ConnectorDelegate);
};
} // namespace ui_devtools
#endif // COMPONENTS_UI_DEVTOOLS_CONNECTOR_DELEGATE_H_