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

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

Issue 1847383003: CREDENTIAL: Rework the integration with Fetch (2/2) Base URL: https://chromium.googlesource.com/chromium/src.git@pass-serialized
Patch Set: unittest Created 4 years, 8 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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 // The request context passed to the ServiceWorker. 243 // The request context passed to the ServiceWorker.
244 IPC_STRUCT_MEMBER(content::RequestContextType, fetch_request_context_type) 244 IPC_STRUCT_MEMBER(content::RequestContextType, fetch_request_context_type)
245 245
246 // The frame type passed to the ServiceWorker. 246 // The frame type passed to the ServiceWorker.
247 IPC_STRUCT_MEMBER(content::RequestContextFrameType, fetch_frame_type) 247 IPC_STRUCT_MEMBER(content::RequestContextFrameType, fetch_frame_type)
248 248
249 // Optional resource request body (may be null). 249 // Optional resource request body (may be null).
250 IPC_STRUCT_MEMBER(scoped_refptr<content::ResourceRequestBody>, 250 IPC_STRUCT_MEMBER(scoped_refptr<content::ResourceRequestBody>,
251 request_body) 251 request_body)
252 252
253 // True if the |request_body| should not be exposed to service workers.
254 IPC_STRUCT_MEMBER(bool, empty_body_in_service_worker)
255
253 IPC_STRUCT_MEMBER(bool, download_to_file) 256 IPC_STRUCT_MEMBER(bool, download_to_file)
254 257
255 // True if the request was user initiated. 258 // True if the request was user initiated.
256 IPC_STRUCT_MEMBER(bool, has_user_gesture) 259 IPC_STRUCT_MEMBER(bool, has_user_gesture)
257 260
258 // True if load timing data should be collected for request. 261 // True if load timing data should be collected for request.
259 IPC_STRUCT_MEMBER(bool, enable_load_timing) 262 IPC_STRUCT_MEMBER(bool, enable_load_timing)
260 263
261 // True if upload progress should be available for request. 264 // True if upload progress should be available for request.
262 IPC_STRUCT_MEMBER(bool, enable_upload_progress) 265 IPC_STRUCT_MEMBER(bool, enable_upload_progress)
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 453
451 // Sent when the renderer process deletes a resource loader. 454 // Sent when the renderer process deletes a resource loader.
452 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 455 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
453 int /* request_id */) 456 int /* request_id */)
454 457
455 // Sent by the renderer when a resource request changes priority. 458 // Sent by the renderer when a resource request changes priority.
456 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, 459 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority,
457 int /* request_id */, 460 int /* request_id */,
458 net::RequestPriority, 461 net::RequestPriority,
459 int /* intra_priority_value */) 462 int /* intra_priority_value */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698