chromium/services/device/usb/usb_configuration_android.h

// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef SERVICES_DEVICE_USB_USB_CONFIGURATION_ANDROID_H_
#define SERVICES_DEVICE_USB_USB_CONFIGURATION_ANDROID_H_

#include "base/android/scoped_java_ref.h"
#include "services/device/usb/usb_descriptors.h"

namespace device {

class UsbConfigurationAndroid {
 public:
  static mojom::UsbConfigurationInfoPtr Convert(
      JNIEnv* env,
      const base::android::JavaRef<jobject>& usb_configuration);
};

}  // namespace device

#endif  // SERVICES_DEVICE_USB_USB_CONFIGURATION_ANDROID_H_