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

Unified Diff: url/mojo/origin.typemap

Issue 1832703002: Mojo: Simplify typemap usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-bindings-variant-import
Patch Set: add missing mash dependency Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « url/mojo/gurl.typemap ('k') | url/mojo/typemaps.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: url/mojo/origin.typemap
diff --git a/url/mojo/origin.typemap b/url/mojo/origin.typemap
index e785ae4b53bfad181659741ecb98a360ec38ef5c..f18bd5ac6481d1202137c80b8598410bb3094932 100644
--- a/url/mojo/origin.typemap
+++ b/url/mojo/origin.typemap
@@ -1,17 +1,11 @@
-// 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.
+# 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.
-{
- "c++": {
- "url.mojom.Origin": {
- "typename": "url::Origin",
- "public_headers": [
- "url/origin.h"
- ],
- "traits_headers": [
- "url/mojo/origin_struct_traits.h"
- ]
- }
- }
-}
+mojom = "//url/mojo/origin.mojom"
+public_headers = [ "//url/origin.h" ]
+traits_headers = [ "//url/mojo/origin_struct_traits.h" ]
+deps = [
+ "//url",
+]
+type_mappings = [ "url.mojom.Origin=url::Origin" ]
« no previous file with comments | « url/mojo/gurl.typemap ('k') | url/mojo/typemaps.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698