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

Side by Side Diff: content/common/resource_messages.h

Issue 8669014: Fix a bug where redirect chain gets lost on process swap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: conditional disabling Created 9 years 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 | « content/common/resource_dispatcher_unittest.cc ('k') | content/common/view_messages.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // IPC messages for resource loading. 5 // IPC messages for resource loading.
6 6
7 // Multiply-included message file, hence no include guard. 7 // Multiply-included message file, hence no include guard.
8 #include "base/shared_memory.h" 8 #include "base/shared_memory.h"
9 #include "content/public/common/common_param_traits.h" 9 #include "content/public/common/common_param_traits.h"
10 #include "content/public/common/resource_response.h" 10 #include "content/public/common/resource_response.h"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 IPC_STRUCT_MEMBER(int64, frame_id) 104 IPC_STRUCT_MEMBER(int64, frame_id)
105 105
106 // True if |parent_frame_id| is the main frame of a RenderView. 106 // True if |parent_frame_id| is the main frame of a RenderView.
107 IPC_STRUCT_MEMBER(bool, parent_is_main_frame) 107 IPC_STRUCT_MEMBER(bool, parent_is_main_frame)
108 108
109 // Identifies the parent frame of the frame that sent the request. 109 // Identifies the parent frame of the frame that sent the request.
110 // -1 if unknown / invalid. 110 // -1 if unknown / invalid.
111 IPC_STRUCT_MEMBER(int64, parent_frame_id) 111 IPC_STRUCT_MEMBER(int64, parent_frame_id)
112 112
113 IPC_STRUCT_MEMBER(content::PageTransition, transition_type) 113 IPC_STRUCT_MEMBER(content::PageTransition, transition_type)
114
115 // The following two members identify a previous request that has been
116 // created before this navigation has been transferred to a new render view.
117 // This serves the purpose of recycling the old request.
118 // Unless this refers to a transferred navigation, these values are -1 and -1.
119 IPC_STRUCT_MEMBER(int, transferred_request_child_id)
120 IPC_STRUCT_MEMBER(int, transferred_request_request_id)
114 IPC_STRUCT_END() 121 IPC_STRUCT_END()
115 122
116 // Resource messages sent from the browser to the renderer. 123 // Resource messages sent from the browser to the renderer.
117 124
118 // Sent when the headers are available for a resource request. 125 // Sent when the headers are available for a resource request.
119 IPC_MESSAGE_ROUTED2(ResourceMsg_ReceivedResponse, 126 IPC_MESSAGE_ROUTED2(ResourceMsg_ReceivedResponse,
120 int /* request_id */, 127 int /* request_id */,
121 content::ResourceResponseHead) 128 content::ResourceResponseHead)
122 129
123 // Sent when cached metadata from a resource request is ready. 130 // Sent when cached metadata from a resource request is ready.
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 int /* request_id */) 209 int /* request_id */)
203 210
204 // Sent by the renderer process to acknowledge receipt of a 211 // Sent by the renderer process to acknowledge receipt of a
205 // UploadProgress message. 212 // UploadProgress message.
206 IPC_MESSAGE_ROUTED1(ResourceHostMsg_UploadProgress_ACK, 213 IPC_MESSAGE_ROUTED1(ResourceHostMsg_UploadProgress_ACK,
207 int /* request_id */) 214 int /* request_id */)
208 215
209 // Sent when the renderer process deletes a resource loader. 216 // Sent when the renderer process deletes a resource loader.
210 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 217 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
211 int /* request_id */) 218 int /* request_id */)
OLDNEW
« no previous file with comments | « content/common/resource_dispatcher_unittest.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698