Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(209)

Side by Side Diff: components/chrome_cleaner/public/typemaps/chrome_prompt_struct_traits.h

Issue 2932703006: Chrome Cleaner: Remove indirect base::FilePath mojo dependency. (Closed)
Patch Set: Address review comments on #5 Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698