naiveproxy/services/device/public/mojom/mtp_storage_info.mojom

26 lines
779 B
Plaintext
Raw Normal View History

2018-08-11 08:35:24 +03:00
// Copyright 2017 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.
module device.mojom;
// This is a mojo counterpart of the MtpStorageInfo protobuf message from
// //src/third_party/cros_system_api/dbus/mtp_storage_info.proto
// See discussion on https://crbug.com/769630.
struct MtpStorageInfo {
string storage_name;
string vendor;
uint32 vendor_id = 0;
string product;
uint32 product_id = 0;
uint32 device_flags = 0;
uint32 storage_type = 0;
uint32 filesystem_type = 0;
uint32 access_capability = 0;
uint64 max_capacity = 0;
uint64 free_space_in_bytes = 0;
uint64 free_space_in_objects = 0;
string storage_description;
string volume_identifier;
};