Index: gpu/ipc/service/gpu_channel.h |
diff --git a/gpu/ipc/service/gpu_channel.h b/gpu/ipc/service/gpu_channel.h |
index 7ec9d25e618c762a7766132dd826b4a3778aba84..47c1ba63604df7fe0b6ed6da742fc4575d9acda9 100644 |
--- a/gpu/ipc/service/gpu_channel.h |
+++ b/gpu/ipc/service/gpu_channel.h |
@@ -114,6 +114,7 @@ class GPU_EXPORT GpuChannel |
// IPC::Listener implementation: |
bool OnMessageReceived(const IPC::Message& msg) override; |
+ void OnChannelConnected(int32_t peer_pid) override; |
void OnChannelError() override; |
// IPC::Sender implementation: |
@@ -276,6 +277,8 @@ class GPU_EXPORT GpuChannel |
// Can real time streams be created on this channel. |
const bool allow_real_time_streams_; |
+ base::ProcessId peer_pid_; |
+ |
// Member variables should appear before the WeakPtrFactory, to ensure |
// that any WeakPtrs to Controller are invalidated before its members |
// variable's destructors are executed, rendering them invalid. |