| Index: chrome/plugin/plugin_channel.h
|
| ===================================================================
|
| --- chrome/plugin/plugin_channel.h (revision 26101)
|
| +++ chrome/plugin/plugin_channel.h (working copy)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2009 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.
|
|
|
| @@ -16,8 +16,8 @@
|
| class PluginChannel : public PluginChannelBase {
|
| public:
|
| // Get a new PluginChannel object for the current process to talk to the
|
| - // given rendeer process. The renderer ID is an opaque unique ID generated by
|
| - // the browser.
|
| + // given renderer process. The renderer ID is an opaque unique ID generated
|
| + // by the browser.
|
| //
|
| // POSIX only: If |channel_fd| > 0, use that file descriptor for the
|
| // channel socket.
|
| @@ -30,6 +30,8 @@
|
| virtual void OnMessageReceived(const IPC::Message& message);
|
|
|
| base::ProcessHandle renderer_handle() const { return renderer_handle_; }
|
| + int renderer_id() { return renderer_id_; }
|
| +
|
| int GenerateRouteID();
|
|
|
| #if defined(OS_POSIX)
|
| @@ -76,6 +78,9 @@
|
| // Handle to the renderer process who is on the other side of the channel.
|
| base::ProcessHandle renderer_handle_;
|
|
|
| + // The id of the renderer who is on the other side of the channel.
|
| + int renderer_id_;
|
| +
|
| #if defined(OS_POSIX)
|
| // FD for the renderer end of the pipe. It is stored until we send it over
|
| // IPC after which it is cleared. It will be closed by the IPC mechanism.
|
|
|