Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Side by Side Diff: cc/ipc/local_frame_id.mojom

Issue 2379653006: Replaced cc::SurfaceId::nonce_ with base::UnguessableToken (Closed)
Patch Set: Moved include statement from surface_id_struct_traits.h to local_frame_id_struct_traits.h Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698