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

Unified Diff: components/arc/common/intent_helper.typemap

Issue 2556463003: Use mojo typemaps to simplify arc::IntentFilter::IntentFilter() (reland) (Closed)
Patch Set: Rebased Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/arc/common/typemaps.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/common/intent_helper.typemap
diff --git a/components/arc/common/intent_helper.typemap b/components/arc/common/intent_helper.typemap
new file mode 100644
index 0000000000000000000000000000000000000000..5b1a17ceb5671f2fa94fd812f013a95e8e0be89a
--- /dev/null
+++ b/components/arc/common/intent_helper.typemap
@@ -0,0 +1,16 @@
+# 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.
+
+mojom = "//components/arc/common/intent_helper.mojom"
+public_headers = [ "//components/arc/intent_helper/intent_filter.h" ]
+traits_headers =
+ [ "//components/arc/intent_helper/intent_filter_struct_traits.h" ]
+sources = [
+ "//components/arc/intent_helper/intent_filter_struct_traits.cc",
+]
+type_mappings = [
+ "arc.mojom.IntentFilter=::arc::IntentFilter[move_only]",
+ "arc.mojom.AuthorityEntry=::arc::IntentFilter::AuthorityEntry[move_only]",
+ "arc.mojom.PatternMatcher=::arc::IntentFilter::PatternMatcher[move_only]",
+]
« no previous file with comments | « no previous file | components/arc/common/typemaps.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698