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

Unified Diff: chrome/plugin/plugin_channel.h

Issue 79020: linux (and some posix): multiprocess plugins compiling. (Closed)
Patch Set: rebased Created 11 years, 8 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/npobject_util.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
diff --git a/chrome/plugin/plugin_channel.h b/chrome/plugin/plugin_channel.h
index 94d18f9a867f802569b5b087dc205c7a7002953a..a1643d1faa81d9ddf82137e42dd429f9d57f5513 100644
--- a/chrome/plugin/plugin_channel.h
+++ b/chrome/plugin/plugin_channel.h
@@ -7,6 +7,7 @@
#include <vector>
#include "base/scoped_handle.h"
+#include "build/build_config.h"
#include "chrome/plugin/plugin_channel_base.h"
#include "chrome/plugin/webplugin_delegate_stub.h"
@@ -21,7 +22,7 @@ class PluginChannel : public PluginChannelBase {
virtual bool Send(IPC::Message* msg);
virtual void OnMessageReceived(const IPC::Message& message);
- HANDLE renderer_handle() { return renderer_handle_.Get(); }
+ base::ProcessHandle renderer_handle() const { return renderer_handle_; }
int GenerateRouteID();
bool in_send() { return in_send_ != 0; }
@@ -48,10 +49,10 @@ class PluginChannel : public PluginChannelBase {
void OnDestroyInstance(int instance_id, IPC::Message* reply_msg);
void OnGenerateRouteID(int* route_id);
- std::vector<scoped_refptr<WebPluginDelegateStub>> plugin_stubs_;
+ std::vector<scoped_refptr<WebPluginDelegateStub> > plugin_stubs_;
// Handle to the renderer process who is on the other side of the channel.
- ScopedHandle renderer_handle_;
+ base::ProcessHandle renderer_handle_;
int in_send_; // Tracks if we're in a Send call.
bool log_messages_; // True if we should log sent and received messages.
« no previous file with comments | « chrome/plugin/npobject_util.cc ('k') | chrome/plugin/plugin_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698