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