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

Side by Side Diff: ppapi/proxy/ppapi_messages.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/cpp/url_request_info.h ('k') | ppapi/shared_impl/ppb_url_request_info_shared.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included message header, no traditional include guard. 5 // Multiply-included message header, no traditional include guard.
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 IPC_STRUCT_TRAITS_MEMBER(record_download_progress) 206 IPC_STRUCT_TRAITS_MEMBER(record_download_progress)
207 IPC_STRUCT_TRAITS_MEMBER(record_upload_progress) 207 IPC_STRUCT_TRAITS_MEMBER(record_upload_progress)
208 IPC_STRUCT_TRAITS_MEMBER(has_custom_referrer_url) 208 IPC_STRUCT_TRAITS_MEMBER(has_custom_referrer_url)
209 IPC_STRUCT_TRAITS_MEMBER(custom_referrer_url) 209 IPC_STRUCT_TRAITS_MEMBER(custom_referrer_url)
210 IPC_STRUCT_TRAITS_MEMBER(allow_cross_origin_requests) 210 IPC_STRUCT_TRAITS_MEMBER(allow_cross_origin_requests)
211 IPC_STRUCT_TRAITS_MEMBER(allow_credentials) 211 IPC_STRUCT_TRAITS_MEMBER(allow_credentials)
212 IPC_STRUCT_TRAITS_MEMBER(has_custom_content_transfer_encoding) 212 IPC_STRUCT_TRAITS_MEMBER(has_custom_content_transfer_encoding)
213 IPC_STRUCT_TRAITS_MEMBER(custom_content_transfer_encoding) 213 IPC_STRUCT_TRAITS_MEMBER(custom_content_transfer_encoding)
214 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_upper_threshold) 214 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_upper_threshold)
215 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_lower_threshold) 215 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_lower_threshold)
216 IPC_STRUCT_TRAITS_MEMBER(has_custom_user_agent)
217 IPC_STRUCT_TRAITS_MEMBER(custom_user_agent)
216 IPC_STRUCT_TRAITS_MEMBER(body) 218 IPC_STRUCT_TRAITS_MEMBER(body)
217 IPC_STRUCT_TRAITS_END() 219 IPC_STRUCT_TRAITS_END()
218 220
219 IPC_STRUCT_TRAITS_BEGIN(ppapi::PPB_URLRequestInfo_Data::BodyItem) 221 IPC_STRUCT_TRAITS_BEGIN(ppapi::PPB_URLRequestInfo_Data::BodyItem)
220 IPC_STRUCT_TRAITS_MEMBER(is_file) 222 IPC_STRUCT_TRAITS_MEMBER(is_file)
221 IPC_STRUCT_TRAITS_MEMBER(data) 223 IPC_STRUCT_TRAITS_MEMBER(data)
222 // Note: we don't serialize file_ref. 224 // Note: we don't serialize file_ref.
223 IPC_STRUCT_TRAITS_MEMBER(file_ref_host_resource) 225 IPC_STRUCT_TRAITS_MEMBER(file_ref_host_resource)
224 IPC_STRUCT_TRAITS_MEMBER(start_offset) 226 IPC_STRUCT_TRAITS_MEMBER(start_offset)
225 IPC_STRUCT_TRAITS_MEMBER(number_of_bytes) 227 IPC_STRUCT_TRAITS_MEMBER(number_of_bytes)
(...skipping 1207 matching lines...) Expand 10 before | Expand all | Expand 10 after
1433 ppapi::proxy::ResourceMessageCallParams /* call_params */, 1435 ppapi::proxy::ResourceMessageCallParams /* call_params */,
1434 IPC::Message /* nested_msg */) 1436 IPC::Message /* nested_msg */)
1435 1437
1436 // A resource reply is a response to a ResourceCall from a host to the 1438 // A resource reply is a response to a ResourceCall from a host to the
1437 // plugin. The resource ID + sequence number in the params will correspond to 1439 // plugin. The resource ID + sequence number in the params will correspond to
1438 // that of the previous ResourceCall. 1440 // that of the previous ResourceCall.
1439 IPC_MESSAGE_CONTROL2( 1441 IPC_MESSAGE_CONTROL2(
1440 PpapiPluginMsg_ResourceReply, 1442 PpapiPluginMsg_ResourceReply,
1441 ppapi::proxy::ResourceMessageReplyParams /* reply_params */, 1443 ppapi::proxy::ResourceMessageReplyParams /* reply_params */,
1442 IPC::Message /* nested_msg */) 1444 IPC::Message /* nested_msg */)
OLDNEW
« no previous file with comments | « ppapi/cpp/url_request_info.h ('k') | ppapi/shared_impl/ppb_url_request_info_shared.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698