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

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

Issue 2032653003: Limit foreign fetch to only intercept requests made from secure contexts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: properly initialize new ResourceRequest member Created 4 years, 6 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
« no previous file with comments | « content/child/resource_dispatcher.cc ('k') | content/common/resource_request.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 // IPC messages for resource loading. 5 // IPC messages for resource loading.
6 // 6 //
7 // NOTE: All messages must send an |int request_id| as their first parameter. 7 // NOTE: All messages must send an |int request_id| as their first parameter.
8 8
9 // Multiply-included message file, hence no include guard. 9 // Multiply-included message file, hence no include guard.
10 10
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 IPC_STRUCT_TRAITS_MEMBER(parent_is_main_frame) 234 IPC_STRUCT_TRAITS_MEMBER(parent_is_main_frame)
235 IPC_STRUCT_TRAITS_MEMBER(parent_render_frame_id) 235 IPC_STRUCT_TRAITS_MEMBER(parent_render_frame_id)
236 IPC_STRUCT_TRAITS_MEMBER(transition_type) 236 IPC_STRUCT_TRAITS_MEMBER(transition_type)
237 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry) 237 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry)
238 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id) 238 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id)
239 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id) 239 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id)
240 IPC_STRUCT_TRAITS_MEMBER(allow_download) 240 IPC_STRUCT_TRAITS_MEMBER(allow_download)
241 IPC_STRUCT_TRAITS_MEMBER(report_raw_headers) 241 IPC_STRUCT_TRAITS_MEMBER(report_raw_headers)
242 IPC_STRUCT_TRAITS_MEMBER(lofi_state) 242 IPC_STRUCT_TRAITS_MEMBER(lofi_state)
243 IPC_STRUCT_TRAITS_MEMBER(resource_body_stream_url) 243 IPC_STRUCT_TRAITS_MEMBER(resource_body_stream_url)
244 IPC_STRUCT_TRAITS_MEMBER(initiated_in_secure_context)
244 IPC_STRUCT_TRAITS_END() 245 IPC_STRUCT_TRAITS_END()
245 246
246 // Parameters for a ResourceMsg_RequestComplete 247 // Parameters for a ResourceMsg_RequestComplete
247 IPC_STRUCT_TRAITS_BEGIN(content::ResourceRequestCompletionStatus) 248 IPC_STRUCT_TRAITS_BEGIN(content::ResourceRequestCompletionStatus)
248 IPC_STRUCT_TRAITS_MEMBER(error_code) 249 IPC_STRUCT_TRAITS_MEMBER(error_code)
249 IPC_STRUCT_TRAITS_MEMBER(was_ignored_by_handler) 250 IPC_STRUCT_TRAITS_MEMBER(was_ignored_by_handler)
250 IPC_STRUCT_TRAITS_MEMBER(exists_in_cache) 251 IPC_STRUCT_TRAITS_MEMBER(exists_in_cache)
251 IPC_STRUCT_TRAITS_MEMBER(security_info) 252 IPC_STRUCT_TRAITS_MEMBER(security_info)
252 IPC_STRUCT_TRAITS_MEMBER(completion_time) 253 IPC_STRUCT_TRAITS_MEMBER(completion_time)
253 IPC_STRUCT_TRAITS_MEMBER(encoded_data_length) 254 IPC_STRUCT_TRAITS_MEMBER(encoded_data_length)
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 366
366 // Sent when the renderer process deletes a resource loader. 367 // Sent when the renderer process deletes a resource loader.
367 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 368 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
368 int /* request_id */) 369 int /* request_id */)
369 370
370 // Sent by the renderer when a resource request changes priority. 371 // Sent by the renderer when a resource request changes priority.
371 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, 372 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority,
372 int /* request_id */, 373 int /* request_id */,
373 net::RequestPriority, 374 net::RequestPriority,
374 int /* intra_priority_value */) 375 int /* intra_priority_value */)
OLDNEW
« no previous file with comments | « content/child/resource_dispatcher.cc ('k') | content/common/resource_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698