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

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

Issue 2262183002: [NoStatePrefetch] Do not send responses to renderer in prefetch mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prefetchProto
Patch Set: Fix uninitialized variable Created 4 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
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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 IPC_STRUCT_TRAITS_MEMBER(parent_render_frame_id) 242 IPC_STRUCT_TRAITS_MEMBER(parent_render_frame_id)
243 IPC_STRUCT_TRAITS_MEMBER(transition_type) 243 IPC_STRUCT_TRAITS_MEMBER(transition_type)
244 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry) 244 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry)
245 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id) 245 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id)
246 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id) 246 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id)
247 IPC_STRUCT_TRAITS_MEMBER(allow_download) 247 IPC_STRUCT_TRAITS_MEMBER(allow_download)
248 IPC_STRUCT_TRAITS_MEMBER(report_raw_headers) 248 IPC_STRUCT_TRAITS_MEMBER(report_raw_headers)
249 IPC_STRUCT_TRAITS_MEMBER(lofi_state) 249 IPC_STRUCT_TRAITS_MEMBER(lofi_state)
250 IPC_STRUCT_TRAITS_MEMBER(resource_body_stream_url) 250 IPC_STRUCT_TRAITS_MEMBER(resource_body_stream_url)
251 IPC_STRUCT_TRAITS_MEMBER(initiated_in_secure_context) 251 IPC_STRUCT_TRAITS_MEMBER(initiated_in_secure_context)
252 IPC_STRUCT_TRAITS_MEMBER(is_prefetch_only)
252 IPC_STRUCT_TRAITS_END() 253 IPC_STRUCT_TRAITS_END()
253 254
254 // Parameters for a ResourceMsg_RequestComplete 255 // Parameters for a ResourceMsg_RequestComplete
255 IPC_STRUCT_TRAITS_BEGIN(content::ResourceRequestCompletionStatus) 256 IPC_STRUCT_TRAITS_BEGIN(content::ResourceRequestCompletionStatus)
256 IPC_STRUCT_TRAITS_MEMBER(error_code) 257 IPC_STRUCT_TRAITS_MEMBER(error_code)
257 IPC_STRUCT_TRAITS_MEMBER(was_ignored_by_handler) 258 IPC_STRUCT_TRAITS_MEMBER(was_ignored_by_handler)
258 IPC_STRUCT_TRAITS_MEMBER(exists_in_cache) 259 IPC_STRUCT_TRAITS_MEMBER(exists_in_cache)
259 IPC_STRUCT_TRAITS_MEMBER(security_info) 260 IPC_STRUCT_TRAITS_MEMBER(security_info)
260 IPC_STRUCT_TRAITS_MEMBER(completion_time) 261 IPC_STRUCT_TRAITS_MEMBER(completion_time)
261 IPC_STRUCT_TRAITS_MEMBER(encoded_data_length) 262 IPC_STRUCT_TRAITS_MEMBER(encoded_data_length)
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 376
376 // Sent when the renderer process deletes a resource loader. 377 // Sent when the renderer process deletes a resource loader.
377 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 378 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
378 int /* request_id */) 379 int /* request_id */)
379 380
380 // Sent by the renderer when a resource request changes priority. 381 // Sent by the renderer when a resource request changes priority.
381 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, 382 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority,
382 int /* request_id */, 383 int /* request_id */,
383 net::RequestPriority, 384 net::RequestPriority,
384 int /* intra_priority_value */) 385 int /* intra_priority_value */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698