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

Unified Diff: components/mus/public/interfaces/surface_id.mojom

Issue 1996783002: Make cc::SurfaceId unguessable (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed unit tests Created 4 years, 7 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: components/mus/public/interfaces/surface_id.mojom
diff --git a/components/mus/public/interfaces/surface_id.mojom b/components/mus/public/interfaces/surface_id.mojom
index 7d6f657fb0fab8306b06e9a3914d3b5b35d08411..fe4aae794146d5084b30e2ebed0a61e292c4d6e0 100644
--- a/components/mus/public/interfaces/surface_id.mojom
+++ b/components/mus/public/interfaces/surface_id.mojom
@@ -15,6 +15,7 @@ module mus.mojom;
// owned by the same client. The actual id namespace must be used to pass
// surface ids to other clients for them to reference.
struct SurfaceId {
- uint32 local;
uint32 id_namespace;
+ uint64 nonce;
Tom Sepez 2016/05/24 22:35:45 again, I'd flip these. Just because.
Fady Samuel 2016/05/25 00:04:29 Done.
+ uint32 local_id;
};

Powered by Google App Engine
This is Rietveld 408576698