Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Side by Side Diff: webkit/glue/plugins/pepper_url_request_info.h

Issue 2806049: Allow Pepper plugins to make requests with relative urls. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « webkit/glue/plugins/pepper_url_loader.cc ('k') | webkit/glue/plugins/pepper_url_request_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698