Chromium Code Reviews| Index: third_party/WebKit/public/platform/Platform.h |
| diff --git a/third_party/WebKit/public/platform/Platform.h b/third_party/WebKit/public/platform/Platform.h |
| index 747885a940b479fac6bcd5a2f069c40775d78f50..5285ad95ca43c120b0be8d7854a2098f084834f4 100644 |
| --- a/third_party/WebKit/public/platform/Platform.h |
| +++ b/third_party/WebKit/public/platform/Platform.h |
| @@ -321,6 +321,14 @@ class BLINK_PLATFORM_EXPORT Platform { |
| // the process's process ID. |
| virtual uint32_t getUniqueIdForProcess() { return 0; } |
| + // Render Thread ------------------------------------------------------- |
| + |
| + // Returns a unique client ID for the process of the current render thread |
| + virtual uint32_t getClientId() { return 0; } |
|
Fady Samuel
2016/11/22 23:41:18
How about just exposing a "generateFrameSinkId" wh
xlai (Olivia)
2016/11/22 23:51:55
I would rather keep an interface function as strai
kinuko
2016/11/23 10:33:30
(Putting aside the discussion if it's recommended
|
| + // Generates a new routing ID. This method normally gets delegated to a |
| + // MessageRouter. |
| + virtual int generateRoutingId() { return 0; } |
|
kinuko
2016/11/23 10:33:30
Is the 'routing ID' about IPC routing or render th
|
| + |
| // Message Ports ------------------------------------------------------- |
| // Creates a Message Port Channel pair. This can be called on any thread. |