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

Unified Diff: cc/ipc/local_frame_id.mojom

Issue 2388753003: Introduce cc::LocalFrameId and use in SurfaceFactory (Closed)
Patch Set: Fix exo_unittests 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 side-by-side diff with in-line comments
Download patch
Index: cc/ipc/local_frame_id.mojom
diff --git a/cc/ipc/local_frame_id.mojom b/cc/ipc/local_frame_id.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..feca9b0fcc1471e96d1d499078e8bd1108df8eac
--- /dev/null
+++ b/cc/ipc/local_frame_id.mojom
@@ -0,0 +1,16 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module cc.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;
+};
+

Powered by Google App Engine
This is Rietveld 408576698