| 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/ppb_url_response_info_impl.h" | 5 #include "webkit/plugins/ppapi/ppb_url_response_info_impl.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "ppapi/c/pp_var.h" | 8 #include "ppapi/c/pp_var.h" |
| 9 #include "ppapi/shared_impl/var.h" | 9 #include "ppapi/shared_impl/var.h" |
| 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebHTTPHeaderVisitor.
h" | 10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebHTTPHeade
rVisitor.h" |
| 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
| 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h" |
| 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURLResponse.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLRespon
se.h" |
| 14 #include "webkit/plugins/ppapi/common.h" | 14 #include "webkit/plugins/ppapi/common.h" |
| 15 #include "webkit/plugins/ppapi/plugin_module.h" | 15 #include "webkit/plugins/ppapi/plugin_module.h" |
| 16 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" | 16 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" |
| 17 #include "webkit/plugins/ppapi/ppb_file_ref_impl.h" | 17 #include "webkit/plugins/ppapi/ppb_file_ref_impl.h" |
| 18 #include "webkit/plugins/ppapi/resource_helper.h" | 18 #include "webkit/plugins/ppapi/resource_helper.h" |
| 19 #include "webkit/glue/webkit_glue.h" | 19 #include "webkit/glue/webkit_glue.h" |
| 20 | 20 |
| 21 using ppapi::StringVar; | 21 using ppapi::StringVar; |
| 22 using ppapi::thunk::PPB_URLResponseInfo_API; | 22 using ppapi::thunk::PPB_URLResponseInfo_API; |
| 23 using WebKit::WebHTTPHeaderVisitor; | 23 using WebKit::WebHTTPHeaderVisitor; |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 | 113 |
| 114 PP_Resource PPB_URLResponseInfo_Impl::GetBodyAsFileRef() { | 114 PP_Resource PPB_URLResponseInfo_Impl::GetBodyAsFileRef() { |
| 115 if (!body_.get()) | 115 if (!body_.get()) |
| 116 return 0; | 116 return 0; |
| 117 return body_->GetReference(); | 117 return body_->GetReference(); |
| 118 } | 118 } |
| 119 | 119 |
| 120 } // namespace ppapi | 120 } // namespace ppapi |
| 121 } // namespace webkit | 121 } // namespace webkit |
| 122 | 122 |
| OLD | NEW |