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 // A cryptographically secure random int chosen to make the LocalFrameId |
Fady Samuel
2016/10/07 14:18:11
nit: This comment seems redundant now.
Alex Z.
2016/10/07 14:27:49
Done.
| |
13 // unguessable by other clients. | 14 // unguessable by other clients. |
14 uint64 nonce; | 15 mojo.common.mojom.UnguessableToken nonce; |
15 }; | 16 }; |
16 | 17 |
OLD | NEW |