| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_GLUE_PLUGINS_PEPPER_URL_REQUEST_INFO_H_ | 5 #ifndef WEBKIT_GLUE_PLUGINS_PEPPER_URL_REQUEST_INFO_H_ |
| 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_URL_REQUEST_INFO_H_ | 6 #define WEBKIT_GLUE_PLUGINS_PEPPER_URL_REQUEST_INFO_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "third_party/ppapi/c/ppb_url_request_info.h" | 10 #include "third_party/ppapi/c/ppb_url_request_info.h" |
| (...skipping 22 matching lines...) Expand all Loading... |
| 33 const std::string& value); | 33 const std::string& value); |
| 34 bool AppendDataToBody(const std::string& data); | 34 bool AppendDataToBody(const std::string& data); |
| 35 bool AppendFileToBody(FileRef* file_ref, | 35 bool AppendFileToBody(FileRef* file_ref, |
| 36 int64_t start_offset, | 36 int64_t start_offset, |
| 37 int64_t number_of_bytes, | 37 int64_t number_of_bytes, |
| 38 PP_Time expected_last_modified_time); | 38 PP_Time expected_last_modified_time); |
| 39 | 39 |
| 40 const WebKit::WebURLRequest& web_request() const { | 40 const WebKit::WebURLRequest& web_request() const { |
| 41 return web_request_; | 41 return web_request_; |
| 42 } | 42 } |
| 43 std::string url() const { return url_; } |
| 43 | 44 |
| 44 private: | 45 private: |
| 46 std::string url_; |
| 45 WebKit::WebURLRequest web_request_; | 47 WebKit::WebURLRequest web_request_; |
| 46 }; | 48 }; |
| 47 | 49 |
| 48 } // namespace pepper | 50 } // namespace pepper |
| 49 | 51 |
| 50 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_URL_REQUEST_INFO_H_ | 52 #endif // WEBKIT_GLUE_PLUGINS_PEPPER_URL_REQUEST_INFO_H_ |
| OLD | NEW |