summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-10 16:09:01 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-10 16:09:01 +0000
commitc094eaf5de58987d93810e88bd0e1b21b7bcce91 (patch)
tree346b7873e7330caafb164ba9aa9fd452944d23f9 /ppapi/proxy
parent7f80fbfe35dfb9aa9d4dba2bbd9e5c799d5fc678 (diff)
downloadchromium_src-c094eaf5de58987d93810e88bd0e1b21b7bcce91.zip
chromium_src-c094eaf5de58987d93810e88bd0e1b21b7bcce91.tar.gz
chromium_src-c094eaf5de58987d93810e88bd0e1b21b7bcce91.tar.bz2
PPAPI: Add an API for setting a custom user agent for URL requests.
This doesn't hook it up yet. Pepper Flash needs this for RTMPT. BUG=134615 TEST=not really (except for trivial URL request test) Review URL: https://chromiumcodereview.appspot.com/10762017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@145885 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/proxy')
-rw-r--r--ppapi/proxy/ppapi_messages.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h
index 755d353..e7881a6 100644
--- a/ppapi/proxy/ppapi_messages.h
+++ b/ppapi/proxy/ppapi_messages.h
@@ -213,6 +213,8 @@ IPC_STRUCT_TRAITS_BEGIN(ppapi::PPB_URLRequestInfo_Data)
IPC_STRUCT_TRAITS_MEMBER(custom_content_transfer_encoding)
IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_upper_threshold)
IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_lower_threshold)
+ IPC_STRUCT_TRAITS_MEMBER(has_custom_user_agent)
+ IPC_STRUCT_TRAITS_MEMBER(custom_user_agent)
IPC_STRUCT_TRAITS_MEMBER(body)
IPC_STRUCT_TRAITS_END()