OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/plugin/plugin_channel.h" | 5 #include "chrome/plugin/plugin_channel.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/lock.h" | 8 #include "base/lock.h" |
9 #include "base/process_util.h" | 9 #include "base/process_util.h" |
10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
11 #include "base/waitable_event.h" | 11 #include "base/synchronization/waitable_event.h" |
12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
13 #include "chrome/common/child_process.h" | 13 #include "chrome/common/child_process.h" |
14 #include "chrome/common/plugin_messages.h" | 14 #include "chrome/common/plugin_messages.h" |
15 #include "chrome/common/chrome_switches.h" | 15 #include "chrome/common/chrome_switches.h" |
16 #include "chrome/plugin/plugin_thread.h" | 16 #include "chrome/plugin/plugin_thread.h" |
17 #include "chrome/plugin/webplugin_delegate_stub.h" | 17 #include "chrome/plugin/webplugin_delegate_stub.h" |
18 #include "chrome/plugin/webplugin_proxy.h" | 18 #include "chrome/plugin/webplugin_proxy.h" |
19 #include "webkit/plugins/npapi/plugin_instance.h" | 19 #include "webkit/plugins/npapi/plugin_instance.h" |
20 | 20 |
21 #if defined(OS_POSIX) | 21 #if defined(OS_POSIX) |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 } | 320 } |
321 | 321 |
322 bool PluginChannel::Init(MessageLoop* ipc_message_loop, bool create_pipe_now) { | 322 bool PluginChannel::Init(MessageLoop* ipc_message_loop, bool create_pipe_now) { |
323 if (!PluginChannelBase::Init(ipc_message_loop, create_pipe_now)) | 323 if (!PluginChannelBase::Init(ipc_message_loop, create_pipe_now)) |
324 return false; | 324 return false; |
325 | 325 |
326 channel_->AddFilter(filter_.get()); | 326 channel_->AddFilter(filter_.get()); |
327 return true; | 327 return true; |
328 } | 328 } |
329 | 329 |
OLD | NEW |