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

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

Issue 2577563002: Add struct traits for base::Value. (Closed)
Patch Set: Created 4 years 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
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 = [ "//ipc/ipc_message_utils.h" ] 7 traits_headers = [
8 "//ipc/ipc_message_utils.h",
9 "//mojo/common/values_struct_traits.h",
10 ]
8 public_deps = [ 11 public_deps = [
12 "//base",
9 "//ipc", 13 "//ipc",
10 ] 14 ]
15 sources = [
16 "values_struct_traits.cc",
17 "values_struct_traits.h",
18 ]
11 19
12 type_mappings = [ 20 type_mappings = [
13 "mojo.common.mojom.DictionaryValue=base::DictionaryValue", 21 "mojo.common.mojom.DictionaryValue=std::unique_ptr<base::DictionaryValue>[move _only,nullable_is_same_type]",
14 "mojo.common.mojom.ListValue=base::ListValue", 22 "mojo.common.mojom.LegacyListValue=base::ListValue",
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]",
15 ] 25 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698