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

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: review comments 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/ui/views/mus/run_all_unittests_mus.cc b/url/mojo/gurl.typemap
similarity index 51%
copy from ui/views/mus/run_all_unittests_mus.cc
copy to url/mojo/gurl.typemap
index 4de8cdb1839a8f7617ce22c6454472e5c200eec0..3ce68b865c4f6c0c1941b8e1f7a775014819acb0 100644
--- a/ui/views/mus/run_all_unittests_mus.cc
+++ b/url/mojo/gurl.typemap
@@ -1,9 +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.
-
-#include "ui/views/run_all_unittests.h"
-
-int MasterProcessMain(int argc, char** argv) {
- return views::RunAllUnittests(argc, argv);
-}
+// 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_struct_traits.h"
+ ]
+ }
+ }
+}
« no previous file with comments | « url/mojo/OWNERS ('k') | url/mojo/url.mojom » ('j') | url/mojo/url_gurl_struct_traits_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698