summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/platform/mojo/time.typemap
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/platform/mojo/time.typemap')
-rw-r--r--chromium/third_party/blink/renderer/platform/mojo/time.typemap19
1 files changed, 19 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/platform/mojo/time.typemap b/chromium/third_party/blink/renderer/platform/mojo/time.typemap
new file mode 100644
index 00000000000..c02526da6f2
--- /dev/null
+++ b/chromium/third_party/blink/renderer/platform/mojo/time.typemap
@@ -0,0 +1,19 @@
+# Copyright 2017 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/public/mojom/base/time.mojom"
+public_headers = [ "//third_party/blink/renderer/platform/wtf/time.h" ]
+traits_headers = [
+ "//ipc/ipc_message_utils.h",
+ "//mojo/public/cpp/base/time_mojom_traits.h",
+]
+public_deps = [
+ "//ipc",
+ "//mojo/public/mojom/base",
+]
+
+type_mappings = [
+ "mojo_base.mojom.Time=WTF::Time[copyable_pass_by_value]",
+ "mojo_base.mojom.TimeDelta=WTF::TimeDelta[copyable_pass_by_value]",
+]