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

Unified 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 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 feca9b0fcc1471e96d1d499078e8bd1108df8eac..6b25b6b7da302c475b74d0fe7f93769838be2d28 100644
--- a/cc/ipc/local_frame_id.mojom
+++ b/cc/ipc/local_frame_id.mojom
@@ -3,14 +3,13 @@
// 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;
- // A cryptographically secure random int chosen to make the LocalFrameId
- // unguessable by other clients.
- uint64 nonce;
+ mojo.common.mojom.UnguessableToken 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