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

Side by Side Diff: content/child/plugin_messages.h

Issue 23830007: Support byte range requests when routing resource requests directly through the browser process. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 file, hence no include guard. 5 // Multiply-included message file, hence no include guard.
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "content/child/plugin_param_traits.h" 8 #include "content/child/plugin_param_traits.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "content/common/content_param_traits.h" 10 #include "content/common/content_param_traits.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 IPC_STRUCT_MEMBER(uint32, last_modified) 51 IPC_STRUCT_MEMBER(uint32, last_modified)
52 IPC_STRUCT_MEMBER(bool, request_is_seekable) 52 IPC_STRUCT_MEMBER(bool, request_is_seekable)
53 IPC_STRUCT_END() 53 IPC_STRUCT_END()
54 54
55 IPC_STRUCT_BEGIN(PluginMsg_FetchURL_Params) 55 IPC_STRUCT_BEGIN(PluginMsg_FetchURL_Params)
56 IPC_STRUCT_MEMBER(unsigned long, resource_id) 56 IPC_STRUCT_MEMBER(unsigned long, resource_id)
57 IPC_STRUCT_MEMBER(int, notify_id) 57 IPC_STRUCT_MEMBER(int, notify_id)
58 IPC_STRUCT_MEMBER(GURL, url) 58 IPC_STRUCT_MEMBER(GURL, url)
59 IPC_STRUCT_MEMBER(GURL, first_party_for_cookies) 59 IPC_STRUCT_MEMBER(GURL, first_party_for_cookies)
60 IPC_STRUCT_MEMBER(std::string, method) 60 IPC_STRUCT_MEMBER(std::string, method)
61 IPC_STRUCT_MEMBER(std::string, post_data) 61 IPC_STRUCT_MEMBER(std::vector<char>, post_data)
62 IPC_STRUCT_MEMBER(GURL, referrer) 62 IPC_STRUCT_MEMBER(GURL, referrer)
63 IPC_STRUCT_MEMBER(bool, notify_redirect) 63 IPC_STRUCT_MEMBER(bool, notify_redirect)
64 IPC_STRUCT_MEMBER(bool, is_plugin_src_load) 64 IPC_STRUCT_MEMBER(bool, is_plugin_src_load)
65 IPC_STRUCT_MEMBER(int, render_view_id) 65 IPC_STRUCT_MEMBER(int, render_view_id)
66 IPC_STRUCT_END() 66 IPC_STRUCT_END()
67 67
68 IPC_STRUCT_BEGIN(PluginMsg_UpdateGeometry_Param) 68 IPC_STRUCT_BEGIN(PluginMsg_UpdateGeometry_Param)
69 IPC_STRUCT_MEMBER(gfx::Rect, window_rect) 69 IPC_STRUCT_MEMBER(gfx::Rect, window_rect)
70 IPC_STRUCT_MEMBER(gfx::Rect, clip_rect) 70 IPC_STRUCT_MEMBER(gfx::Rect, clip_rect)
71 IPC_STRUCT_MEMBER(TransportDIB::Handle, windowless_buffer0) 71 IPC_STRUCT_MEMBER(TransportDIB::Handle, windowless_buffer0)
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 GURL /* first_party_for_cookies */, 270 GURL /* first_party_for_cookies */,
271 std::string /* cookies */) 271 std::string /* cookies */)
272 272
273 IPC_MESSAGE_ROUTED0(PluginHostMsg_CancelDocumentLoad) 273 IPC_MESSAGE_ROUTED0(PluginHostMsg_CancelDocumentLoad)
274 274
275 IPC_MESSAGE_ROUTED3(PluginHostMsg_InitiateHTTPRangeRequest, 275 IPC_MESSAGE_ROUTED3(PluginHostMsg_InitiateHTTPRangeRequest,
276 std::string /* url */, 276 std::string /* url */,
277 std::string /* range_info */, 277 std::string /* range_info */,
278 int /* range_request_id */) 278 int /* range_request_id */)
279 279
280 IPC_MESSAGE_ROUTED0(PluginHostMsg_DidStartLoading)
281 IPC_MESSAGE_ROUTED0(PluginHostMsg_DidStopLoading)
282
280 IPC_MESSAGE_ROUTED2(PluginHostMsg_DeferResourceLoading, 283 IPC_MESSAGE_ROUTED2(PluginHostMsg_DeferResourceLoading,
281 unsigned long /* resource_id */, 284 unsigned long /* resource_id */,
282 bool /* defer */) 285 bool /* defer */)
283 286
284 IPC_SYNC_MESSAGE_CONTROL1_0(PluginHostMsg_SetException, 287 IPC_SYNC_MESSAGE_CONTROL1_0(PluginHostMsg_SetException,
285 std::string /* message */) 288 std::string /* message */)
286 289
287 IPC_MESSAGE_CONTROL0(PluginHostMsg_PluginShuttingDown) 290 IPC_MESSAGE_CONTROL0(PluginHostMsg_PluginShuttingDown)
288 291
289 IPC_MESSAGE_ROUTED2(PluginHostMsg_URLRedirectResponse, 292 IPC_MESSAGE_ROUTED2(PluginHostMsg_URLRedirectResponse,
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
389 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, 392 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct,
390 std::vector<content::NPVariant_Param> /* args */, 393 std::vector<content::NPVariant_Param> /* args */,
391 content::NPVariant_Param /* result_param */, 394 content::NPVariant_Param /* result_param */,
392 bool /* result */) 395 bool /* result */)
393 396
394 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, 397 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate,
395 std::string /* script */, 398 std::string /* script */,
396 bool /* popups_allowed */, 399 bool /* popups_allowed */,
397 content::NPVariant_Param /* result_param */, 400 content::NPVariant_Param /* result_param */,
398 bool /* result */) 401 bool /* result */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698