| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_URL_RESPONSE_INFO_UTIL_H_ | 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_URL_RESPONSE_INFO_UTIL_H_ |
| 6 #define WEBKIT_PLUGINS_PPAPI_PPB_URL_RESPONSE_INFO_UTIL_H_ | 6 #define WEBKIT_PLUGINS_PPAPI_PPB_URL_RESPONSE_INFO_UTIL_H_ |
| 7 | 7 |
| 8 #include "ppapi/c/pp_instance.h" | 8 #include "ppapi/c/pp_instance.h" |
| 9 #include "ppapi/shared_impl/url_response_info_data.h" | 9 #include "ppapi/shared_impl/url_response_info_data.h" |
| 10 #include "webkit/plugins/webkit_plugins_export.h" |
| 10 | 11 |
| 11 namespace WebKit { | 12 namespace WebKit { |
| 12 class WebURLResponse; | 13 class WebURLResponse; |
| 13 } | 14 } |
| 14 | 15 |
| 15 namespace webkit { | 16 namespace webkit { |
| 16 namespace ppapi { | 17 namespace ppapi { |
| 17 | 18 |
| 18 // The returned object will have one plugin reference to the "body_as_file_ref" | 19 // The returned object will have one plugin reference to the "body_as_file_ref" |
| 19 // if it's non-null. It's expected that the result of this function will be | 20 // if it's non-null. It's expected that the result of this function will be |
| 20 // passed to the plugin. | 21 // passed to the plugin. |
| 21 ::ppapi::URLResponseInfoData DataFromWebURLResponse( | 22 WEBKIT_PLUGINS_EXPORT ::ppapi::URLResponseInfoData DataFromWebURLResponse( |
| 22 PP_Instance pp_instance, | 23 PP_Instance pp_instance, |
| 23 const WebKit::WebURLResponse& response); | 24 const WebKit::WebURLResponse& response); |
| 24 | 25 |
| 25 } // namespace ppapi | 26 } // namespace ppapi |
| 26 } // namespace webkit | 27 } // namespace webkit |
| 27 | 28 |
| 28 #endif // WEBKIT_PLUGINS_PPAPI_PPB_URL_RESPONSE_INFO_UTIL_H_ | 29 #endif // WEBKIT_PLUGINS_PPAPI_PPB_URL_RESPONSE_INFO_UTIL_H_ |
| OLD | NEW |