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

Unified Diff: ppapi/shared_impl/ppb_url_request_info_shared.h

Issue 10800082: Merge 145885 to 1180 (M21) - PPAPI: Add an API for setting a custom user agent for URL requests. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1180/src/
Patch Set: 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
===================================================================
--- ppapi/shared_impl/ppb_url_request_info_shared.h (revision 147912)
+++ ppapi/shared_impl/ppb_url_request_info_shared.h (working copy)
@@ -73,9 +73,11 @@
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