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

Unified Diff: cc/ipc/local_frame_id.mojom

Issue 2494833002: Revert of Replaced cc::SurfaceId::nonce_ with base::UnguessableToken (Closed)
Patch Set: 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/ipc/local_frame_id.mojom
diff --git a/cc/ipc/local_frame_id.mojom b/cc/ipc/local_frame_id.mojom
index 6b25b6b7da302c475b74d0fe7f93769838be2d28..feca9b0fcc1471e96d1d499078e8bd1108df8eac 100644
--- a/cc/ipc/local_frame_id.mojom
+++ b/cc/ipc/local_frame_id.mojom
@@ -3,13 +3,14 @@
// found in the LICENSE file.
module cc.mojom;
-import "mojo/common/common_custom_types.mojom";
struct LocalFrameId {
// An identifier allocated by the client uniquely identifying a surface within
// a client process.
uint32 local_id;
- mojo.common.mojom.UnguessableToken nonce;
+ // A cryptographically secure random int chosen to make the LocalFrameId
+ // unguessable by other clients.
+ uint64 nonce;
};
« 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