mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-24 22:36:09 +03:00
19 lines
659 B
Plaintext
19 lines
659 B
Plaintext
|
// 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;
|
||
|
};
|