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 module cc.mojom; | 5 module cc.mojom; |
| 6 import "mojo/common/common_custom_types.mojom"; |
6 | 7 |
7 struct LocalFrameId { | 8 struct LocalFrameId { |
8 // An identifier allocated by the client uniquely identifying a surface within | 9 // An identifier allocated by the client uniquely identifying a surface within |
9 // a client process. | 10 // a client process. |
10 uint32 local_id; | 11 uint32 local_id; |
11 | 12 |
12 // A cryptographically secure random int chosen to make the LocalFrameId | 13 mojo.common.mojom.UnguessableToken nonce; |
13 // unguessable by other clients. | |
14 uint64 nonce; | |
15 }; | 14 }; |
16 | 15 |
OLD | NEW |