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 "webkit/plugins/ppapi/plugin_module.h" | 5 #include "webkit/plugins/ppapi/plugin_module.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 return PPB_Transport_Impl::GetInterface(); | 278 return PPB_Transport_Impl::GetInterface(); |
279 if (strcmp(name, PPB_URLLOADER_INTERFACE) == 0) | 279 if (strcmp(name, PPB_URLLOADER_INTERFACE) == 0) |
280 return PPB_URLLoader_Impl::GetInterface(); | 280 return PPB_URLLoader_Impl::GetInterface(); |
281 if (strcmp(name, PPB_URLLOADERTRUSTED_INTERFACE) == 0) | 281 if (strcmp(name, PPB_URLLOADERTRUSTED_INTERFACE) == 0) |
282 return PPB_URLLoader_Impl::GetTrustedInterface(); | 282 return PPB_URLLoader_Impl::GetTrustedInterface(); |
283 if (strcmp(name, PPB_URLREQUESTINFO_INTERFACE) == 0) | 283 if (strcmp(name, PPB_URLREQUESTINFO_INTERFACE) == 0) |
284 return PPB_URLRequestInfo_Impl::GetInterface(); | 284 return PPB_URLRequestInfo_Impl::GetInterface(); |
285 if (strcmp(name, PPB_URLRESPONSEINFO_INTERFACE) == 0) | 285 if (strcmp(name, PPB_URLRESPONSEINFO_INTERFACE) == 0) |
286 return PPB_URLResponseInfo_Impl::GetInterface(); | 286 return PPB_URLResponseInfo_Impl::GetInterface(); |
287 if (strcmp(name, PPB_URLUTIL_DEV_INTERFACE) == 0) | 287 if (strcmp(name, PPB_URLUTIL_DEV_INTERFACE) == 0) |
288 return PPB_UrlUtil_Impl::GetInterface(); | 288 return PPB_URLUtil_Impl::GetInterface(); |
289 if (strcmp(name, PPB_VAR_DEPRECATED_INTERFACE) == 0) | 289 if (strcmp(name, PPB_VAR_DEPRECATED_INTERFACE) == 0) |
290 return Var::GetDeprecatedInterface(); | 290 return Var::GetDeprecatedInterface(); |
291 if (strcmp(name, PPB_VAR_INTERFACE) == 0) | 291 if (strcmp(name, PPB_VAR_INTERFACE) == 0) |
292 return Var::GetInterface(); | 292 return Var::GetInterface(); |
293 if (strcmp(name, PPB_VIDEODECODER_DEV_INTERFACE) == 0) | 293 if (strcmp(name, PPB_VIDEODECODER_DEV_INTERFACE) == 0) |
294 return PPB_VideoDecoder_Impl::GetInterface(); | 294 return PPB_VideoDecoder_Impl::GetInterface(); |
295 if (strcmp(name, PPB_WIDGET_DEV_INTERFACE) == 0) | 295 if (strcmp(name, PPB_WIDGET_DEV_INTERFACE) == 0) |
296 return PPB_Widget_Impl::GetInterface(); | 296 return PPB_Widget_Impl::GetInterface(); |
297 if (strcmp(name, PPB_ZOOM_DEV_INTERFACE) == 0) | 297 if (strcmp(name, PPB_ZOOM_DEV_INTERFACE) == 0) |
298 return PluginInstance::GetZoomInterface(); | 298 return PluginInstance::GetZoomInterface(); |
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 if (retval != 0) { | 507 if (retval != 0) { |
508 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval; | 508 LOG(WARNING) << "PPP_InitializeModule returned failure " << retval; |
509 return false; | 509 return false; |
510 } | 510 } |
511 return true; | 511 return true; |
512 } | 512 } |
513 | 513 |
514 } // namespace ppapi | 514 } // namespace ppapi |
515 } // namespace webkit | 515 } // namespace webkit |
516 | 516 |
OLD | NEW |