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

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

Issue 6576020: Remove Gears from Chrome (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: windows fixes Created 9 years, 9 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 | « content/common/resource_dispatcher_unittest.cc ('k') | content/content_browser.gypi » ('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 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/shared_memory.h" 8 #include "base/shared_memory.h"
9 #include "content/common/resource_response.h" 9 #include "content/common/resource_response.h"
10 #include "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // or kNoHostId. 88 // or kNoHostId.
89 IPC_STRUCT_MEMBER(int, appcache_host_id) 89 IPC_STRUCT_MEMBER(int, appcache_host_id)
90 90
91 // Optional upload data (may be null). 91 // Optional upload data (may be null).
92 IPC_STRUCT_MEMBER(scoped_refptr<net::UploadData>, upload_data) 92 IPC_STRUCT_MEMBER(scoped_refptr<net::UploadData>, upload_data)
93 93
94 IPC_STRUCT_MEMBER(bool, download_to_file) 94 IPC_STRUCT_MEMBER(bool, download_to_file)
95 95
96 // True if the request was user initiated. 96 // True if the request was user initiated.
97 IPC_STRUCT_MEMBER(bool, has_user_gesture) 97 IPC_STRUCT_MEMBER(bool, has_user_gesture)
98
99 // The following two members are specified if the request is initiated by
100 // a plugin like Gears.
101
102 // Contains the id of the host renderer.
103 IPC_STRUCT_MEMBER(int, host_renderer_id)
104
105 // Contains the id of the host render view.
106 IPC_STRUCT_MEMBER(int, host_render_view_id)
107 IPC_STRUCT_END() 98 IPC_STRUCT_END()
108 99
109 // Resource messages sent from the browser to the renderer. 100 // Resource messages sent from the browser to the renderer.
110 101
111 // Sent when the headers are available for a resource request. 102 // Sent when the headers are available for a resource request.
112 IPC_MESSAGE_ROUTED2(ResourceMsg_ReceivedResponse, 103 IPC_MESSAGE_ROUTED2(ResourceMsg_ReceivedResponse,
113 int /* request_id */, 104 int /* request_id */,
114 ResourceResponseHead) 105 ResourceResponseHead)
115 106
116 // Sent when cached metadata from a resource request is ready. 107 // Sent when cached metadata from a resource request is ready.
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 int /* request_id */) 178 int /* request_id */)
188 179
189 // Sent by the renderer process to acknowledge receipt of a 180 // Sent by the renderer process to acknowledge receipt of a
190 // UploadProgress message. 181 // UploadProgress message.
191 IPC_MESSAGE_ROUTED1(ResourceHostMsg_UploadProgress_ACK, 182 IPC_MESSAGE_ROUTED1(ResourceHostMsg_UploadProgress_ACK,
192 int /* request_id */) 183 int /* request_id */)
193 184
194 // Sent when the renderer process deletes a resource loader. 185 // Sent when the renderer process deletes a resource loader.
195 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 186 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
196 int /* request_id */) 187 int /* request_id */)
OLDNEW
« no previous file with comments | « content/common/resource_dispatcher_unittest.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698