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

Side by Side Diff: ppapi/proxy/ppapi_messages.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 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 IPC_STRUCT_TRAITS_MEMBER(record_download_progress) 192 IPC_STRUCT_TRAITS_MEMBER(record_download_progress)
193 IPC_STRUCT_TRAITS_MEMBER(record_upload_progress) 193 IPC_STRUCT_TRAITS_MEMBER(record_upload_progress)
194 IPC_STRUCT_TRAITS_MEMBER(has_custom_referrer_url) 194 IPC_STRUCT_TRAITS_MEMBER(has_custom_referrer_url)
195 IPC_STRUCT_TRAITS_MEMBER(custom_referrer_url) 195 IPC_STRUCT_TRAITS_MEMBER(custom_referrer_url)
196 IPC_STRUCT_TRAITS_MEMBER(allow_cross_origin_requests) 196 IPC_STRUCT_TRAITS_MEMBER(allow_cross_origin_requests)
197 IPC_STRUCT_TRAITS_MEMBER(allow_credentials) 197 IPC_STRUCT_TRAITS_MEMBER(allow_credentials)
198 IPC_STRUCT_TRAITS_MEMBER(has_custom_content_transfer_encoding) 198 IPC_STRUCT_TRAITS_MEMBER(has_custom_content_transfer_encoding)
199 IPC_STRUCT_TRAITS_MEMBER(custom_content_transfer_encoding) 199 IPC_STRUCT_TRAITS_MEMBER(custom_content_transfer_encoding)
200 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_upper_threshold) 200 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_upper_threshold)
201 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_lower_threshold) 201 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_lower_threshold)
202 IPC_STRUCT_TRAITS_MEMBER(has_custom_user_agent)
203 IPC_STRUCT_TRAITS_MEMBER(custom_user_agent)
202 IPC_STRUCT_TRAITS_MEMBER(body) 204 IPC_STRUCT_TRAITS_MEMBER(body)
203 IPC_STRUCT_TRAITS_END() 205 IPC_STRUCT_TRAITS_END()
204 206
205 IPC_STRUCT_TRAITS_BEGIN(ppapi::PPB_URLRequestInfo_Data::BodyItem) 207 IPC_STRUCT_TRAITS_BEGIN(ppapi::PPB_URLRequestInfo_Data::BodyItem)
206 IPC_STRUCT_TRAITS_MEMBER(is_file) 208 IPC_STRUCT_TRAITS_MEMBER(is_file)
207 IPC_STRUCT_TRAITS_MEMBER(data) 209 IPC_STRUCT_TRAITS_MEMBER(data)
208 // Note: we don't serialize file_ref. 210 // Note: we don't serialize file_ref.
209 IPC_STRUCT_TRAITS_MEMBER(file_ref_host_resource) 211 IPC_STRUCT_TRAITS_MEMBER(file_ref_host_resource)
210 IPC_STRUCT_TRAITS_MEMBER(start_offset) 212 IPC_STRUCT_TRAITS_MEMBER(start_offset)
211 IPC_STRUCT_TRAITS_MEMBER(number_of_bytes) 213 IPC_STRUCT_TRAITS_MEMBER(number_of_bytes)
(...skipping 1167 matching lines...) Expand 10 before | Expand all | Expand 10 after
1379 // PPB_X509Certificate_Private 1381 // PPB_X509Certificate_Private
1380 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER, 1382 IPC_SYNC_MESSAGE_CONTROL1_2(PpapiHostMsg_PPBX509Certificate_ParseDER,
1381 std::vector<char> /* der */, 1383 std::vector<char> /* der */,
1382 bool /* succeeded */, 1384 bool /* succeeded */,
1383 ppapi::PPB_X509Certificate_Fields /* result */) 1385 ppapi::PPB_X509Certificate_Fields /* result */)
1384 1386
1385 // PPB_Font. 1387 // PPB_Font.
1386 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies, 1388 IPC_SYNC_MESSAGE_CONTROL0_1(PpapiHostMsg_PPBFont_GetFontFamilies,
1387 std::string /* result */) 1389 std::string /* result */)
1388 #endif // !defined(OS_NACL) 1390 #endif // !defined(OS_NACL)
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