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

Side by Side Diff: extensions/common/manifest_location_struct_traits.h

Issue 2697463002: Convert utility process extension Unpacker IPC to mojo (Closed)
Patch Set: Sync, review comments, remove utility_process_mojo_client.h change. 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 EXTENSIONS_COMMON_MANIFEST_LOCATION_STRUCT_TRAITS_H
6 #define EXTENSIONS_COMMON_MANIFEST_LOCATION_STRUCT_TRAITS_H
7
8 #include "extensions/common/manifest.h"
9 #include "extensions/common/manifest_location.mojom-shared.h"
10
11 namespace mojo {
12
13 template <>
14 struct EnumTraits<::extensions::mojom::ManifestLocation,
15 ::extensions::Manifest::Location> {
16 static ::extensions::mojom::ManifestLocation ToMojom(
17 ::extensions::Manifest::Location input);
18
19 static bool FromMojom(::extensions::mojom::ManifestLocation input,
20 ::extensions::Manifest::Location* output);
21 };
22
23 } // namespace mojo
24
25 #endif // EXTENSIONS_COMMON_MANIFEST_LOCATION_STRUCT_TRAITS_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698