OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "content/common/pepper_plugin_registry.h" | 5 #include "content/common/pepper_plugin_registry.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
9 #include "base/native_library.h" | 9 #include "base/native_library.h" |
10 #include "base/string_split.h" | 10 #include "base/string_split.h" |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 return ChildProcess::current()->io_message_loop_proxy(); | 225 return ChildProcess::current()->io_message_loop_proxy(); |
226 } | 226 } |
227 | 227 |
228 base::WaitableEvent* PepperPluginRegistry::GetShutdownEvent() { | 228 base::WaitableEvent* PepperPluginRegistry::GetShutdownEvent() { |
229 DCHECK(ChildProcess::current()) << "Must be in the renderer."; | 229 DCHECK(ChildProcess::current()) << "Must be in the renderer."; |
230 return ChildProcess::current()->GetShutDownEvent(); | 230 return ChildProcess::current()->GetShutDownEvent(); |
231 } | 231 } |
232 | 232 |
233 std::set<PP_Instance>* PepperPluginRegistry::GetGloballySeenInstanceIDSet() { | 233 std::set<PP_Instance>* PepperPluginRegistry::GetGloballySeenInstanceIDSet() { |
234 // This function is not needed on the host side of the proxy. | 234 // This function is not needed on the host side of the proxy. |
| 235 NOTREACHED(); |
235 return NULL; | 236 return NULL; |
236 } | 237 } |
| 238 |
| 239 pp::shared_impl::WebKitForwarding* PepperPluginRegistry::GetWebKitForwarding() { |
| 240 // This function is not needed on the host side of the proxy. |
| 241 NOTREACHED(); |
| 242 return NULL; |
| 243 } |
| 244 |
| 245 void PepperPluginRegistry::PostToWebKitThread( |
| 246 const tracked_objects::Location& from_here, |
| 247 const base::Closure& task) { |
| 248 // This function is not needed on the host side of the proxy. |
| 249 NOTREACHED(); |
| 250 } |
OLD | NEW |