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

Unified Diff: ppapi/c/ppb_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
« no previous file with comments | « no previous file | ppapi/cpp/url_request_info.h » ('j') | webkit/plugins/ppapi/ppb_url_request_info_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/ppb_url_request_info.h
diff --git a/ppapi/c/ppb_url_request_info.h b/ppapi/c/ppb_url_request_info.h
index 1369c314031febe99d63cd61cf1f1e2f5153f61e..a2a7047e6b219cc99ca5e89973e9671a966df799 100644
--- a/ppapi/c/ppb_url_request_info.h
+++ b/ppapi/c/ppb_url_request_info.h
@@ -41,14 +41,21 @@ typedef enum {
// URLLoader.GetUploadProgress function.
//
// Boolean (default = PP_FALSE).
- PP_URLREQUESTPROPERTY_RECORDUPLOADPROGRESS
+ PP_URLREQUESTPROPERTY_RECORDUPLOADPROGRESS,
+
+ // Set to true to allow, e.g., arbitrary headers to be set. The
+ // URLRequestInfo object will only be usable with a loader which has universal
+ // access (only available on trusted implementations).
+ //
+ // Boolean (default = PP_FALSE).
+ PP_URLREQUESTPROPERTY_UNIVERSALACCESS
} PP_URLRequestProperty;
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_URLRequestProperty, 4);
/**
* @}
*/
-#define PPB_URLREQUESTINFO_INTERFACE "PPB_URLRequestInfo;0.2"
+#define PPB_URLREQUESTINFO_INTERFACE "PPB_URLRequestInfo;0.3"
/**
*
« no previous file with comments | « no previous file | ppapi/cpp/url_request_info.h » ('j') | webkit/plugins/ppapi/ppb_url_request_info_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698