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

Unified Diff: ppapi/shared_impl/ppb_url_request_info_shared.h

Issue 10762017: PPAPI: Add an API for setting a custom user agent for URL requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: foo Created 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/shared_impl/ppb_url_request_info_shared.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/ppb_url_request_info_shared.h
diff --git a/ppapi/shared_impl/ppb_url_request_info_shared.h b/ppapi/shared_impl/ppb_url_request_info_shared.h
index dbad103899b20a4fae416b3baeb35d8c184adda7..a233708f6586fcdabc0ddabb11ddbf9fa3cd256a 100644
--- a/ppapi/shared_impl/ppb_url_request_info_shared.h
+++ b/ppapi/shared_impl/ppb_url_request_info_shared.h
@@ -73,9 +73,11 @@ struct PPAPI_SHARED_EXPORT PPB_URLRequestInfo_Data {
bool allow_credentials;
// Similar to the custom referrer (above), but for custom content transfer
- // encoding.
+ // encoding and custom user agent, respectively.
bool has_custom_content_transfer_encoding;
std::string custom_content_transfer_encoding;
+ bool has_custom_user_agent;
+ std::string custom_user_agent;
int32_t prefetch_buffer_upper_threshold;
int32_t prefetch_buffer_lower_threshold;
« no previous file with comments | « ppapi/proxy/ppapi_messages.h ('k') | ppapi/shared_impl/ppb_url_request_info_shared.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698