Index: chrome/browser/nacl_host/nacl_process_host.h |
diff --git a/chrome/browser/nacl_host/nacl_process_host.h b/chrome/browser/nacl_host/nacl_process_host.h |
index 88bc968ffdf6608cd16707f750b20da863f27593..217554ba1b9952694ebab1917d66d49ec907ed49 100644 |
--- a/chrome/browser/nacl_host/nacl_process_host.h |
+++ b/chrome/browser/nacl_host/nacl_process_host.h |
@@ -119,6 +119,9 @@ class NaClProcessHost : public content::BrowserChildProcessHostDelegate { |
void OnResourcesReady(); |
+ // Enable the PPAPI proxy only for NaCl processes corresponding to a renderer. |
+ bool enable_ppapi_proxy() { return render_view_id_ != 0; } |
+ |
// Sends the reply message to the renderer who is waiting for the plugin |
// to load. Returns true on success. |
bool ReplyToRenderer(const IPC::ChannelHandle& channel_handle); |
@@ -199,8 +202,6 @@ class NaClProcessHost : public content::BrowserChildProcessHostDelegate { |
bool off_the_record_; |
- bool enable_ipc_proxy_; |
- |
// Channel proxy to terminate the NaCl-Browser PPAPI channel. |
scoped_ptr<IPC::ChannelProxy> ipc_proxy_channel_; |
// Plugin listener, to forward browser channel messages to us. |