Chromium Code Reviews| OLD | NEW |
|---|---|
| 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/common_custom_types.mojom" | 5 mojom = "//mojo/common/common_custom_types.mojom" |
| 6 public_headers = [ | 6 public_headers = [ |
| 7 "//base/files/file_path.h", | 7 "//base/files/file_path.h", |
| 8 "//base/nonce.h", | |
| 8 "//base/strings/string16.h", | 9 "//base/strings/string16.h", |
| 9 "//base/time/time.h", | 10 "//base/time/time.h", |
| 10 "//base/values.h", | 11 "//base/values.h", |
| 11 "//base/version.h", | 12 "//base/version.h", |
| 12 ] | 13 ] |
| 13 traits_headers = [ | 14 traits_headers = [ |
| 14 "//ipc/ipc_message_utils.h", | 15 "//ipc/ipc_message_utils.h", |
| 15 "//mojo/common/common_custom_types_struct_traits.h", | 16 "//mojo/common/common_custom_types_struct_traits.h", |
| 16 ] | 17 ] |
| 17 sources = [ | 18 sources = [ |
| 18 "//mojo/common:struct_traits", | 19 "//mojo/common:struct_traits", |
| 19 ] | 20 ] |
| 20 public_deps = [ | 21 public_deps = [ |
| 21 "//ipc", | 22 "//ipc", |
| 22 ] | 23 ] |
| 23 | 24 |
| 24 type_mappings = [ | 25 type_mappings = [ |
| 25 "mojo.common.mojom.FilePath=base::FilePath", | 26 "mojo.common.mojom.FilePath=base::FilePath", |
| 26 "mojo.common.mojom.DictionaryValue=base::DictionaryValue", | 27 "mojo.common.mojom.DictionaryValue=base::DictionaryValue", |
| 27 "mojo.common.mojom.ListValue=base::ListValue", | 28 "mojo.common.mojom.ListValue=base::ListValue", |
| 29 "mojo.common.mojom.Nonce=base::Nonce", | |
|
dcheng
2016/09/13 23:19:06
If we expect people to pass Nonce by value (and it
tguilbert
2016/09/14 22:40:47
From danakj@'s comment earlier in the thread, I th
| |
| 28 "mojo.common.mojom.String16=base::string16", | 30 "mojo.common.mojom.String16=base::string16", |
| 29 "mojo.common.mojom.Time=base::Time[copyable_pass_by_value]", | 31 "mojo.common.mojom.Time=base::Time[copyable_pass_by_value]", |
| 30 "mojo.common.mojom.TimeDelta=base::TimeDelta[copyable_pass_by_value]", | 32 "mojo.common.mojom.TimeDelta=base::TimeDelta[copyable_pass_by_value]", |
| 31 "mojo.common.mojom.TimeTicks=base::TimeTicks[copyable_pass_by_value]", | 33 "mojo.common.mojom.TimeTicks=base::TimeTicks[copyable_pass_by_value]", |
| 32 "mojo.common.mojom.Version=base::Version", | 34 "mojo.common.mojom.Version=base::Version", |
| 33 ] | 35 ] |
| OLD | NEW |