naiveproxy/mojo/public/mojom/base/file_path.mojom

19 lines
659 B
Plaintext
Raw Normal View History

2018-08-15 01:19:20 +03:00
// Copyright 2016 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 mojo_base.mojom;
struct FilePath {
[EnableIf=file_path_is_string]
string path;
// This duplicates the contents of mojo_base.mojom.String16. String16 isn't
// used here due to typemapping dependency problems. base::FilePath is
// used for the typemap for both variants, but base::string16 and WTF::String
// are used for mojo_base.mojom.String16 typemapping. This mismatch causes
// problems with dependencies.
[EnableIf=file_path_is_string16]
array<uint16> path;
};