chromium/chrome/test/data/webui/mojo/mojo_file_system_access_test.mojom

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

module test.mojom;

// A test Mojo interface for JavaScript to send transfer token retrieved via
// MojoFileSystemAccess IDL API to the browser process.
interface MojoFileSystemAccessTest {
  // Send `h` which should be a PendingRemote of FileSystemAccessTransferToken
  // to the test WebUIController.
  //
  // We use plain handle to avoid pulling dependencies from FileSystemAccess.
  ResolveTransferToken(handle h);
};