OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef COMPONENTS_CHROME_CLEANER_PUBLIC_TYPEMAPS_CHROME_CLEANER_STRUCT_TRAITS_H
_ |
| 6 #define COMPONENTS_CHROME_CLEANER_PUBLIC_TYPEMAPS_CHROME_CLEANER_STRUCT_TRAITS_H
_ |
| 7 |
| 8 #include "base/files/file_path.h" |
| 9 #include "components/chrome_cleaner/public/interfaces/chrome_prompt.mojom.h" |
| 10 |
| 11 namespace mojo { |
| 12 |
| 13 template <> |
| 14 struct StructTraits<chrome_cleaner::mojom::FilePathDataView, base::FilePath> { |
| 15 static ConstCArray<uint16_t> value(const base::FilePath& file_path); |
| 16 static bool Read(chrome_cleaner::mojom::FilePathDataView path_view, |
| 17 base::FilePath* out); |
| 18 }; |
| 19 |
| 20 } // namespace mojo |
| 21 |
| 22 #endif // COMPONENTS_CHROME_CLEANER_PUBLIC_TYPEMAPS_CHROME_CLEANER_STRUCT_TRAIT
S_H_ |
OLD | NEW |