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

Side by Side Diff: mojo/common/values.typemap

Issue 2689513003: Add field-initializing constructors to generated mojo structs. (Closed)
Patch Set: rebase Created 3 years, 9 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 unified diff | Download patch
« no previous file with comments | « mojo/common/OWNERS ('k') | mojo/public/cpp/bindings/lib/native_struct.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 mojom = "//mojo/common/values.mojom" 5 mojom = "//mojo/common/values.mojom"
6 public_headers = [ "//base/values.h" ] 6 public_headers = [ "//base/values.h" ]
7 traits_headers = [ 7 traits_headers = [
8 "//ipc/ipc_message_utils.h", 8 "//ipc/ipc_message_utils.h",
9 "//mojo/common/values_struct_traits.h", 9 "//mojo/common/values_struct_traits.h",
10 ] 10 ]
11 public_deps = [ 11 public_deps = [
12 "//base", 12 "//base",
13 "//ipc", 13 "//ipc",
14 ] 14 ]
15 sources = [ 15 sources = [
16 "values_struct_traits.cc", 16 "values_struct_traits.cc",
17 "values_struct_traits.h", 17 "values_struct_traits.h",
18 ] 18 ]
19 19
20 type_mappings = [ 20 type_mappings = [
21 "mojo.common.mojom.DictionaryValue=std::unique_ptr<base::DictionaryValue>[move _only,nullable_is_same_type]", 21 "mojo.common.mojom.DictionaryValue=std::unique_ptr<base::DictionaryValue>[move _only,nullable_is_same_type]",
22 "mojo.common.mojom.LegacyListValue=base::ListValue", 22 "mojo.common.mojom.LegacyListValue=base::ListValue[non_copyable_non_movable]",
23 "mojo.common.mojom.ListValue=std::unique_ptr<base::ListValue>[move_only,nullab le_is_same_type]", 23 "mojo.common.mojom.ListValue=std::unique_ptr<base::ListValue>[move_only,nullab le_is_same_type]",
24 "mojo.common.mojom.Value=std::unique_ptr<base::Value>[move_only,nullable_is_sa me_type]", 24 "mojo.common.mojom.Value=std::unique_ptr<base::Value>[move_only,nullable_is_sa me_type]",
25 ] 25 ]
OLDNEW
« no previous file with comments | « mojo/common/OWNERS ('k') | mojo/public/cpp/bindings/lib/native_struct.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698