Index: content/browser/plugin_process_host.cc |
diff --git a/content/browser/plugin_process_host.cc b/content/browser/plugin_process_host.cc |
index 4b6f361c7aea466786911c44fb27bdc00186b630..67f0b8406b1d6f295f766135825d7a75def1b415 100644 |
--- a/content/browser/plugin_process_host.cc |
+++ b/content/browser/plugin_process_host.cc |
@@ -36,6 +36,7 @@ |
#include "content/public/browser/plugin_service.h" |
#include "content/public/browser/resource_context.h" |
#include "content/public/common/content_switches.h" |
+#include "content/public/common/mojo_channel_switches.h" |
#include "content/public/common/process_type.h" |
#include "content/public/common/sandboxed_process_launcher_delegate.h" |
#include "ipc/ipc_switches.h" |
@@ -328,6 +329,10 @@ void PluginProcessHost::OnProcessCrashed(int exit_code) { |
PluginServiceImpl::GetInstance()->RegisterPluginCrash(info_.path); |
} |
+bool PluginProcessHost::ShouldUseMojoChannel() { |
+ return content::ShouldUseMojoChannel(); |
+} |
+ |
void PluginProcessHost::CancelRequests() { |
for (size_t i = 0; i < pending_requests_.size(); ++i) |
pending_requests_[i]->OnError(); |