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

Unified Diff: url/mojo/gurl.typemap

Issue 1760643004: Add mojo struct traits for GURL so that it can be sent over mojoms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: move to mojom namespace and add security owners Created 4 years, 10 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
Index: url/mojo/gurl.typemap
diff --git a/tools/clang/rewrite_to_chrome_style/tests/gen/thing.h b/url/mojo/gurl.typemap
similarity index 54%
copy from tools/clang/rewrite_to_chrome_style/tests/gen/thing.h
copy to url/mojo/gurl.typemap
index 772eaacd59a6b96469422af12a3cc7172a92eca5..852baf6a9c2758154366c4e8475dd783c9faebcf 100644
--- a/tools/clang/rewrite_to_chrome_style/tests/gen/thing.h
+++ b/url/mojo/gurl.typemap
@@ -1,7 +1,14 @@
-// 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.
-
-namespace blink {
-void genThing();
-}
+// 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",
+ "headers": [
+ "url/mojo/url_gurl.h"
+ ]
+ }
+ }
+}
« no previous file with comments | « url/mojo/OWNERS ('k') | url/mojo/mojo_gurl_unittest.cc » ('j') | url/mojo/url_gurl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698