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

Side by Side Diff: ppapi/proxy/ppapi_messages.h

Issue 10913257: Convert url request info to new proxy API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 8 years, 3 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/ppapi_shared.gypi ('k') | ppapi/proxy/ppb_flash_proxy.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 28 matching lines...) Expand all
39 #include "ppapi/c/private/ppp_flash_browser_operations.h" 39 #include "ppapi/c/private/ppp_flash_browser_operations.h"
40 #include "ppapi/proxy/ppapi_param_traits.h" 40 #include "ppapi/proxy/ppapi_param_traits.h"
41 #include "ppapi/proxy/ppapi_proxy_export.h" 41 #include "ppapi/proxy/ppapi_proxy_export.h"
42 #include "ppapi/proxy/resource_message_params.h" 42 #include "ppapi/proxy/resource_message_params.h"
43 #include "ppapi/proxy/serialized_flash_menu.h" 43 #include "ppapi/proxy/serialized_flash_menu.h"
44 #include "ppapi/proxy/serialized_structs.h" 44 #include "ppapi/proxy/serialized_structs.h"
45 #include "ppapi/shared_impl/ppapi_preferences.h" 45 #include "ppapi/shared_impl/ppapi_preferences.h"
46 #include "ppapi/shared_impl/ppb_device_ref_shared.h" 46 #include "ppapi/shared_impl/ppb_device_ref_shared.h"
47 #include "ppapi/shared_impl/ppb_input_event_shared.h" 47 #include "ppapi/shared_impl/ppb_input_event_shared.h"
48 #include "ppapi/shared_impl/ppb_network_list_private_shared.h" 48 #include "ppapi/shared_impl/ppb_network_list_private_shared.h"
49 #include "ppapi/shared_impl/ppb_url_request_info_shared.h"
50 #include "ppapi/shared_impl/ppb_view_shared.h" 49 #include "ppapi/shared_impl/ppb_view_shared.h"
51 #include "ppapi/shared_impl/ppp_flash_browser_operations_shared.h" 50 #include "ppapi/shared_impl/ppp_flash_browser_operations_shared.h"
52 #include "ppapi/shared_impl/private/ppb_host_resolver_shared.h" 51 #include "ppapi/shared_impl/private/ppb_host_resolver_shared.h"
53 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h" 52 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h"
53 #include "ppapi/shared_impl/url_request_info_data.h"
54 54
55 #undef IPC_MESSAGE_EXPORT 55 #undef IPC_MESSAGE_EXPORT
56 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT 56 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT
57 57
58 #define IPC_MESSAGE_START PpapiMsgStart 58 #define IPC_MESSAGE_START PpapiMsgStart
59 59
60 IPC_ENUM_TRAITS(PP_DeviceType_Dev) 60 IPC_ENUM_TRAITS(PP_DeviceType_Dev)
61 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission) 61 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission)
62 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_SettingType) 62 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_SettingType)
63 IPC_ENUM_TRAITS(PP_FlashSetting) 63 IPC_ENUM_TRAITS(PP_FlashSetting)
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 IPC_STRUCT_TRAITS_MEMBER(touches) 193 IPC_STRUCT_TRAITS_MEMBER(touches)
194 IPC_STRUCT_TRAITS_MEMBER(changed_touches) 194 IPC_STRUCT_TRAITS_MEMBER(changed_touches)
195 IPC_STRUCT_TRAITS_MEMBER(target_touches) 195 IPC_STRUCT_TRAITS_MEMBER(target_touches)
196 IPC_STRUCT_TRAITS_END() 196 IPC_STRUCT_TRAITS_END()
197 197
198 IPC_STRUCT_TRAITS_BEGIN(ppapi::HostPortPair) 198 IPC_STRUCT_TRAITS_BEGIN(ppapi::HostPortPair)
199 IPC_STRUCT_TRAITS_MEMBER(host) 199 IPC_STRUCT_TRAITS_MEMBER(host)
200 IPC_STRUCT_TRAITS_MEMBER(port) 200 IPC_STRUCT_TRAITS_MEMBER(port)
201 IPC_STRUCT_TRAITS_END() 201 IPC_STRUCT_TRAITS_END()
202 202
203 IPC_STRUCT_TRAITS_BEGIN(ppapi::PPB_URLRequestInfo_Data) 203 IPC_STRUCT_TRAITS_BEGIN(ppapi::URLRequestInfoData)
204 IPC_STRUCT_TRAITS_MEMBER(url) 204 IPC_STRUCT_TRAITS_MEMBER(url)
205 IPC_STRUCT_TRAITS_MEMBER(method) 205 IPC_STRUCT_TRAITS_MEMBER(method)
206 IPC_STRUCT_TRAITS_MEMBER(headers) 206 IPC_STRUCT_TRAITS_MEMBER(headers)
207 IPC_STRUCT_TRAITS_MEMBER(stream_to_file) 207 IPC_STRUCT_TRAITS_MEMBER(stream_to_file)
208 IPC_STRUCT_TRAITS_MEMBER(follow_redirects) 208 IPC_STRUCT_TRAITS_MEMBER(follow_redirects)
209 IPC_STRUCT_TRAITS_MEMBER(record_download_progress) 209 IPC_STRUCT_TRAITS_MEMBER(record_download_progress)
210 IPC_STRUCT_TRAITS_MEMBER(record_upload_progress) 210 IPC_STRUCT_TRAITS_MEMBER(record_upload_progress)
211 IPC_STRUCT_TRAITS_MEMBER(has_custom_referrer_url) 211 IPC_STRUCT_TRAITS_MEMBER(has_custom_referrer_url)
212 IPC_STRUCT_TRAITS_MEMBER(custom_referrer_url) 212 IPC_STRUCT_TRAITS_MEMBER(custom_referrer_url)
213 IPC_STRUCT_TRAITS_MEMBER(allow_cross_origin_requests) 213 IPC_STRUCT_TRAITS_MEMBER(allow_cross_origin_requests)
214 IPC_STRUCT_TRAITS_MEMBER(allow_credentials) 214 IPC_STRUCT_TRAITS_MEMBER(allow_credentials)
215 IPC_STRUCT_TRAITS_MEMBER(has_custom_content_transfer_encoding) 215 IPC_STRUCT_TRAITS_MEMBER(has_custom_content_transfer_encoding)
216 IPC_STRUCT_TRAITS_MEMBER(custom_content_transfer_encoding) 216 IPC_STRUCT_TRAITS_MEMBER(custom_content_transfer_encoding)
217 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_upper_threshold) 217 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_upper_threshold)
218 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_lower_threshold) 218 IPC_STRUCT_TRAITS_MEMBER(prefetch_buffer_lower_threshold)
219 IPC_STRUCT_TRAITS_MEMBER(has_custom_user_agent) 219 IPC_STRUCT_TRAITS_MEMBER(has_custom_user_agent)
220 IPC_STRUCT_TRAITS_MEMBER(custom_user_agent) 220 IPC_STRUCT_TRAITS_MEMBER(custom_user_agent)
221 IPC_STRUCT_TRAITS_MEMBER(body) 221 IPC_STRUCT_TRAITS_MEMBER(body)
222 IPC_STRUCT_TRAITS_END() 222 IPC_STRUCT_TRAITS_END()
223 223
224 IPC_STRUCT_TRAITS_BEGIN(ppapi::PPB_URLRequestInfo_Data::BodyItem) 224 IPC_STRUCT_TRAITS_BEGIN(ppapi::URLRequestInfoData::BodyItem)
225 IPC_STRUCT_TRAITS_MEMBER(is_file) 225 IPC_STRUCT_TRAITS_MEMBER(is_file)
226 IPC_STRUCT_TRAITS_MEMBER(data) 226 IPC_STRUCT_TRAITS_MEMBER(data)
227 // Note: we don't serialize file_ref. 227 // Note: we don't serialize file_ref.
228 IPC_STRUCT_TRAITS_MEMBER(file_ref_host_resource) 228 IPC_STRUCT_TRAITS_MEMBER(file_ref_host_resource)
229 IPC_STRUCT_TRAITS_MEMBER(start_offset) 229 IPC_STRUCT_TRAITS_MEMBER(start_offset)
230 IPC_STRUCT_TRAITS_MEMBER(number_of_bytes) 230 IPC_STRUCT_TRAITS_MEMBER(number_of_bytes)
231 IPC_STRUCT_TRAITS_MEMBER(expected_last_modified_time) 231 IPC_STRUCT_TRAITS_MEMBER(expected_last_modified_time)
232 IPC_STRUCT_TRAITS_END() 232 IPC_STRUCT_TRAITS_END()
233 233
234 IPC_STRUCT_TRAITS_BEGIN(ppapi::NetworkInfo) 234 IPC_STRUCT_TRAITS_BEGIN(ppapi::NetworkInfo)
(...skipping 835 matching lines...) Expand 10 before | Expand all | Expand 10 after
1070 std::string /* text */, 1070 std::string /* text */,
1071 uint32_t /* caret */, 1071 uint32_t /* caret */,
1072 uint32_t /* anchor */) 1072 uint32_t /* anchor */)
1073 1073
1074 // PPB_URLLoader. 1074 // PPB_URLLoader.
1075 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBURLLoader_Create, 1075 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBURLLoader_Create,
1076 PP_Instance /* instance */, 1076 PP_Instance /* instance */,
1077 ppapi::HostResource /* result */) 1077 ppapi::HostResource /* result */)
1078 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBURLLoader_Open, 1078 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBURLLoader_Open,
1079 ppapi::HostResource /* loader */, 1079 ppapi::HostResource /* loader */,
1080 ppapi::PPB_URLRequestInfo_Data /* request_data */) 1080 ppapi::URLRequestInfoData /* request_data */)
1081 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBURLLoader_FollowRedirect, 1081 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBURLLoader_FollowRedirect,
1082 ppapi::HostResource /* loader */) 1082 ppapi::HostResource /* loader */)
1083 IPC_SYNC_MESSAGE_ROUTED1_1( 1083 IPC_SYNC_MESSAGE_ROUTED1_1(
1084 PpapiHostMsg_PPBURLLoader_GetResponseInfo, 1084 PpapiHostMsg_PPBURLLoader_GetResponseInfo,
1085 ppapi::HostResource /* loader */, 1085 ppapi::HostResource /* loader */,
1086 ppapi::HostResource /* response_info_out */) 1086 ppapi::HostResource /* response_info_out */)
1087 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBURLLoader_ReadResponseBody, 1087 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBURLLoader_ReadResponseBody,
1088 ppapi::HostResource /* loader */, 1088 ppapi::HostResource /* loader */,
1089 int32_t /* bytes_to_read */) 1089 int32_t /* bytes_to_read */)
1090 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBURLLoader_FinishStreamingToFile, 1090 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBURLLoader_FinishStreamingToFile,
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
1328 PpapiHostMsg_PPBFlash_DrawGlyphs, 1328 PpapiHostMsg_PPBFlash_DrawGlyphs,
1329 PP_Instance /* instance */, 1329 PP_Instance /* instance */,
1330 ppapi::proxy::PPBFlash_DrawGlyphs_Params /* params */, 1330 ppapi::proxy::PPBFlash_DrawGlyphs_Params /* params */,
1331 PP_Bool /* result */) 1331 PP_Bool /* result */)
1332 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetProxyForURL, 1332 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetProxyForURL,
1333 PP_Instance /* instance */, 1333 PP_Instance /* instance */,
1334 std::string /* url */, 1334 std::string /* url */,
1335 ppapi::proxy::SerializedVar /* result */) 1335 ppapi::proxy::SerializedVar /* result */)
1336 IPC_SYNC_MESSAGE_ROUTED4_1(PpapiHostMsg_PPBFlash_Navigate, 1336 IPC_SYNC_MESSAGE_ROUTED4_1(PpapiHostMsg_PPBFlash_Navigate,
1337 PP_Instance /* instance */, 1337 PP_Instance /* instance */,
1338 ppapi::PPB_URLRequestInfo_Data /* request_data */, 1338 ppapi::URLRequestInfoData /* request_data */,
1339 std::string /* target */, 1339 std::string /* target */,
1340 PP_Bool /* from_user_action */, 1340 PP_Bool /* from_user_action */,
1341 int32_t /* result */) 1341 int32_t /* result */)
1342 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBFlash_RunMessageLoop, 1342 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBFlash_RunMessageLoop,
1343 PP_Instance /* instance */) 1343 PP_Instance /* instance */)
1344 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBFlash_QuitMessageLoop, 1344 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBFlash_QuitMessageLoop,
1345 PP_Instance /* instance */) 1345 PP_Instance /* instance */)
1346 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetLocalTimeZoneOffset, 1346 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFlash_GetLocalTimeZoneOffset,
1347 PP_Instance /* instance */, 1347 PP_Instance /* instance */,
1348 PP_Time /* t */, 1348 PP_Time /* t */,
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
1568 1568
1569 // Reply to a RequestMemory call. This supplies the shared memory handle. The 1569 // Reply to a RequestMemory call. This supplies the shared memory handle. The
1570 // actual handle is passed in the ReplyParams struct. 1570 // actual handle is passed in the ReplyParams struct.
1571 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Gamepad_SendMemory) 1571 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Gamepad_SendMemory)
1572 1572
1573 // Printing. 1573 // Printing.
1574 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_Create) 1574 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_Create)
1575 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_GetDefaultPrintSettings) 1575 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Printing_GetDefaultPrintSettings)
1576 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Printing_GetDefaultPrintSettingsReply, 1576 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Printing_GetDefaultPrintSettingsReply,
1577 PP_PrintSettings_Dev /* print_settings */) 1577 PP_PrintSettings_Dev /* print_settings */)
OLDNEW
« no previous file with comments | « ppapi/ppapi_shared.gypi ('k') | ppapi/proxy/ppb_flash_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698