summaryrefslogtreecommitdiff
path: root/mojo/common/time.typemap
blob: 99e9e3ae8d8dcbc3d57af23a4100c9f5efd4b194 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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.

mojom = "//mojo/common/time.mojom"
public_headers = [ "//base/time/time.h" ]
traits_headers = [
  "//ipc/ipc_message_utils.h",
  "//mojo/common/common_custom_types_struct_traits.h",
]
public_deps = [
  "//ipc",
  "//mojo/common:struct_traits",
]

type_mappings = [
  "mojo.common.mojom.Time=base::Time[copyable_pass_by_value]",
  "mojo.common.mojom.TimeDelta=base::TimeDelta[copyable_pass_by_value]",
  "mojo.common.mojom.TimeTicks=base::TimeTicks[copyable_pass_by_value]",
]