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

Unified 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: used undefined var to unset 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 side-by-side diff with in-line comments
Download patch
Index: webkit/plugins/ppapi/ppb_url_request_info_impl.h
diff --git a/webkit/plugins/ppapi/ppb_url_request_info_impl.h b/webkit/plugins/ppapi/ppb_url_request_info_impl.h
index 64c27fe774b12f4e627b37e7278518fbde450ad8..91c6dcdeec86f5782fe896647e9ce8e0e25bef99 100644
--- a/webkit/plugins/ppapi/ppb_url_request_info_impl.h
+++ b/webkit/plugins/ppapi/ppb_url_request_info_impl.h
@@ -35,6 +35,7 @@ class PPB_URLRequestInfo_Impl : public Resource {
virtual PPB_URLRequestInfo_Impl* AsPPB_URLRequestInfo_Impl();
// PPB_URLRequestInfo implementation.
+ bool SetUndefinedProperty(PP_URLRequestProperty property);
bool SetBooleanProperty(PP_URLRequestProperty property, bool value);
bool SetStringProperty(PP_URLRequestProperty property,
const std::string& value);
@@ -46,6 +47,9 @@ class PPB_URLRequestInfo_Impl : public Resource {
WebKit::WebURLRequest ToWebURLRequest(WebKit::WebFrame* frame) const;
+ // Whether universal access is required to use this request.
+ bool RequiresUniversalAccess() const;
+
bool follow_redirects() { return follow_redirects_; }
bool record_download_progress() const { return record_download_progress_; }
@@ -65,6 +69,9 @@ class PPB_URLRequestInfo_Impl : public Resource {
bool record_download_progress_;
bool record_upload_progress_;
+ bool has_custom_referrer_url_;
brettw 2011/03/11 23:31:05 Can you add a comment here about how the boolean d
viettrungluu 2011/03/14 17:13:53 Done.
+ std::string custom_referrer_url_;
+
DISALLOW_COPY_AND_ASSIGN(PPB_URLRequestInfo_Impl);
};

Powered by Google App Engine
This is Rietveld 408576698