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

Unified Diff: chrome/plugin/plugin_channel.h

Issue 195079: Gears File Drag Drop (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 3 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
« no previous file with comments | « chrome/plugin/chrome_plugin_host.cc ('k') | chrome/plugin/plugin_channel.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « chrome/plugin/chrome_plugin_host.cc ('k') | chrome/plugin/plugin_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698