OLD | NEW |
1 // Copyright (c) 2010 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/ppb_flash_impl.h" | 5 #include "webkit/plugins/ppapi/ppb_flash_impl.h" |
6 | 6 |
7 #include <string.h> | 7 #include <string.h> |
8 | 8 |
9 #include "base/file_path.h" | 9 #include "base/file_path.h" |
10 #include "base/stringprintf.h" | 10 #include "base/stringprintf.h" |
11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
12 #include "googleurl/src/gurl.h" | 12 #include "googleurl/src/gurl.h" |
13 #include "ppapi/c/dev/pp_file_info_dev.h" | 13 #include "ppapi/c/dev/pp_file_info_dev.h" |
14 #include "ppapi/c/dev/ppb_file_io_dev.h" | 14 #include "ppapi/c/dev/ppb_file_io_dev.h" |
| 15 #include "ppapi/c/private/ppb_flash.h" |
15 #include "webkit/plugins/ppapi/error_util.h" | 16 #include "webkit/plugins/ppapi/error_util.h" |
16 #include "webkit/plugins/ppapi/plugin_delegate.h" | 17 #include "webkit/plugins/ppapi/plugin_delegate.h" |
17 #include "webkit/plugins/ppapi/plugin_module.h" | 18 #include "webkit/plugins/ppapi/plugin_module.h" |
18 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" | 19 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" |
19 #include "webkit/plugins/ppapi/ppb_flash.h" | |
20 #include "webkit/plugins/ppapi/var.h" | 20 #include "webkit/plugins/ppapi/var.h" |
21 | 21 |
22 namespace webkit { | 22 namespace webkit { |
23 namespace ppapi { | 23 namespace ppapi { |
24 | 24 |
25 namespace { | 25 namespace { |
26 | 26 |
27 PluginInstance* GetSomeInstance(PP_Module pp_module) { | 27 PluginInstance* GetSomeInstance(PP_Module pp_module) { |
28 PluginModule* module = ResourceTracker::Get()->GetModule(pp_module); | 28 PluginModule* module = ResourceTracker::Get()->GetModule(pp_module); |
29 if (!module) | 29 if (!module) |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 } // namespace | 237 } // namespace |
238 | 238 |
239 // static | 239 // static |
240 const PPB_Flash* PPB_Flash_Impl::GetInterface() { | 240 const PPB_Flash* PPB_Flash_Impl::GetInterface() { |
241 return &ppb_flash; | 241 return &ppb_flash; |
242 } | 242 } |
243 | 243 |
244 } // namespace ppapi | 244 } // namespace ppapi |
245 } // namespace webkit | 245 } // namespace webkit |
246 | 246 |
OLD | NEW |