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

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

Issue 2379653006: Replaced cc::SurfaceId::nonce_ with base::UnguessableToken (Closed)
Patch Set: Changed SurfaceManager::kRootSurfaceId to a private field to avoid static initialization Created 4 years, 1 month 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
« no previous file with comments | « cc/ipc/cc_param_traits_unittest.cc ('k') | cc/ipc/local_frame_id_struct_traits.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 mojo.common.mojom.UnguessableToken nonce;
13 // unguessable by other clients.
14 uint64 nonce;
15 }; 14 };
16 15
OLDNEW
« no previous file with comments | « cc/ipc/cc_param_traits_unittest.cc ('k') | cc/ipc/local_frame_id_struct_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698