// Copyright 2014 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.

// This file is autogenerated by:
//     mojo/public/tools/bindings/mojom_bindings_generator.py
// For:
//     device/serial/serial.mojom
//

package org.chromium.mojom.device.serial;

public interface SerialService extends org.chromium.mojo.bindings.Interface {

    public interface Proxy extends SerialService, org.chromium.mojo.bindings.Interface.Proxy {
    }

    Manager<SerialService, SerialService.Proxy> MANAGER = SerialService_Internal.MANAGER;

    void getDevices(GetDevicesResponse callback);
    interface GetDevicesResponse extends org.chromium.mojo.bindings.Callbacks.Callback1<DeviceInfo[]> { }

    void connect(String path, ConnectionOptions options, org.chromium.mojo.bindings.InterfaceRequest<Connection> connection, org.chromium.mojo.bindings.InterfaceRequest<DataSink> sink, org.chromium.mojo.bindings.InterfaceRequest<DataSource> source, DataSourceClient sourceClient);
}

