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

Side by Side Diff: components/arc/file_system/file_system_struct_traits.h

Issue 2727113002: mediaview: Add a typemap for arc::mojom::ChangeType. (Closed)
Patch Set: Rebased to ToT. Created 3 years, 9 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_ARC_FILE_SYSTEM_FILE_SYSTEM_STRUCT_TRAITS_H_
6 #define COMPONENTS_ARC_FILE_SYSTEM_FILE_SYSTEM_STRUCT_TRAITS_H_
7
8 #include "components/arc/common/file_system.mojom.h"
9 #include "storage/browser/fileapi/watcher_manager.h"
10
11 namespace mojo {
12
13 template <>
14 struct EnumTraits<arc::mojom::ChangeType, storage::WatcherManager::ChangeType> {
15 static arc::mojom::ChangeType ToMojom(
16 storage::WatcherManager::ChangeType type);
17 static bool FromMojom(arc::mojom::ChangeType mojom_type,
18 storage::WatcherManager::ChangeType* type);
19 };
20
21 } // namespace mojo
22
23 #endif // COMPONENTS_ARC_FILE_SYSTEM_FILE_SYSTEM_STRUCT_TRAITS_H_
OLDNEW
« no previous file with comments | « components/arc/file_system/OWNERS ('k') | components/arc/file_system/file_system_struct_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698