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

Unified Diff: ppapi/cpp/url_request_info.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 side-by-side diff with in-line comments
Download patch
Index: ppapi/cpp/url_request_info.h
diff --git a/ppapi/cpp/url_request_info.h b/ppapi/cpp/url_request_info.h
index 3c7c47d130ea3e78549cb7121006ad40993de511..58dd8a6f01239d75064b3c4dddca717284dca01b 100644
--- a/ppapi/cpp/url_request_info.h
+++ b/ppapi/cpp/url_request_info.h
@@ -51,6 +51,9 @@ class URLRequestInfo : public Resource {
bool SetRecordUploadProgress(bool enable) {
return SetProperty(PP_URLREQUESTPROPERTY_RECORDUPLOADPROGRESS, enable);
}
+ bool SetUniversalAccess(bool enable) {
+ return SetProperty(PP_URLREQUESTPROPERTY_UNIVERSALACCESS, enable);
+ }
};
} // namespace pp

Powered by Google App Engine
This is Rietveld 408576698