OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_URL_RESPONSE_INFO_UTIL_H_ |
| 6 #define WEBKIT_PLUGINS_PPAPI_PPB_URL_RESPONSE_INFO_UTIL_H_ |
| 7 |
| 8 #include "ppapi/c/pp_instance.h" |
| 9 #include "ppapi/shared_impl/url_response_info_data.h" |
| 10 |
| 11 namespace WebKit { |
| 12 class WebURLResponse; |
| 13 } |
| 14 |
| 15 namespace webkit { |
| 16 namespace ppapi { |
| 17 |
| 18 // 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 // passed to the plugin. |
| 21 ::ppapi::URLResponseInfoData DataFromWebURLResponse( |
| 22 PP_Instance pp_instance, |
| 23 const WebKit::WebURLResponse& response); |
| 24 |
| 25 } // namespace ppapi |
| 26 } // namespace webkit |
| 27 |
| 28 #endif // WEBKIT_PLUGINS_PPAPI_PPB_URL_RESPONSE_INFO_UTIL_H_ |
OLD | NEW |