OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #include "ipc/ipc_handle_win.h" | 5 /** |
| 6 * @fileoverview Externs to be declared to properly compile JS code. |
| 7 * @externs |
| 8 */ |
6 | 9 |
7 namespace IPC { | 10 var performance = {}; |
8 | 11 |
9 HandleForTransit CreateHandleForTransit(HANDLE handle) { | 12 /** |
10 HandleForTransit hft; | 13 * @return {number} |
11 hft.handle = handle; | 14 */ |
12 return hft; | 15 performance.now = function() {}; |
13 } | |
14 | |
15 } // namespace IPC | |
OLD | NEW |