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

Unified Diff: url/mojo/gurl.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/BUILD.gn ('k') | url/mojo/origin.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: url/mojo/gurl.typemap
diff --git a/url/mojo/gurl.typemap b/url/mojo/gurl.typemap
index ddd755b6162abcb91dc7cf447d9953c0f0a4d769..5ff785589839ff7a275a56adba173d0fff1a39ae 100644
--- a/url/mojo/gurl.typemap
+++ b/url/mojo/gurl.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.Url": {
- "typename": "GURL",
- "public_headers": [
- "url/gurl.h"
- ],
- "traits_headers": [
- "url/mojo/url_gurl_struct_traits.h"
- ]
- }
- }
-}
+mojom = "//url/mojo/url.mojom"
+public_headers = [ "//url/gurl.h" ]
+traits_headers = [ "//url/mojo/url_gurl_struct_traits.h" ]
+deps = [
+ "//url",
+]
+type_mappings = [ "url.mojom.Url=GURL" ]
« no previous file with comments | « url/mojo/BUILD.gn ('k') | url/mojo/origin.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698