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

Side by Side Diff: webkit/plugins/ppapi/ppb_url_request_info_impl.h

Issue 6652014: Pepper: Add a property to URLRequestInfo to skip header validation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 9 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_PLUGINS_PPAPI_PPB_URL_REQUEST_INFO_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_URL_REQUEST_INFO_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPB_URL_REQUEST_INFO_IMPL_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPB_URL_REQUEST_INFO_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 int64_t start_offset, 43 int64_t start_offset,
44 int64_t number_of_bytes, 44 int64_t number_of_bytes,
45 PP_Time expected_last_modified_time); 45 PP_Time expected_last_modified_time);
46 46
47 WebKit::WebURLRequest ToWebURLRequest(WebKit::WebFrame* frame) const; 47 WebKit::WebURLRequest ToWebURLRequest(WebKit::WebFrame* frame) const;
48 48
49 bool follow_redirects() { return follow_redirects_; } 49 bool follow_redirects() { return follow_redirects_; }
50 50
51 bool record_download_progress() const { return record_download_progress_; } 51 bool record_download_progress() const { return record_download_progress_; }
52 bool record_upload_progress() const { return record_upload_progress_; } 52 bool record_upload_progress() const { return record_upload_progress_; }
53 bool universal_access() const { return universal_access_; }
53 54
54 private: 55 private:
55 struct BodyItem; 56 struct BodyItem;
56 typedef std::vector<BodyItem> Body; 57 typedef std::vector<BodyItem> Body;
57 58
58 std::string url_; 59 std::string url_;
59 std::string method_; 60 std::string method_;
60 std::string headers_; 61 std::string headers_;
61 Body body_; 62 Body body_;
62 63
63 bool stream_to_file_; 64 bool stream_to_file_;
64 bool follow_redirects_; 65 bool follow_redirects_;
65 bool record_download_progress_; 66 bool record_download_progress_;
66 bool record_upload_progress_; 67 bool record_upload_progress_;
68 bool universal_access_;
67 69
68 DISALLOW_COPY_AND_ASSIGN(PPB_URLRequestInfo_Impl); 70 DISALLOW_COPY_AND_ASSIGN(PPB_URLRequestInfo_Impl);
69 }; 71 };
70 72
71 } // namespace ppapi 73 } // namespace ppapi
72 } // namespace webkit 74 } // namespace webkit
73 75
74 #endif // WEBKIT_PLUGINS_PPAPI_PPB_URL_REQUEST_INFO_IMPL_H_ 76 #endif // WEBKIT_PLUGINS_PPAPI_PPB_URL_REQUEST_INFO_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698