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

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

Issue 603913002: [ServiceWorker] Add was_fallback_required flag to ResourceResponseInfo. [2/2 chromium] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add ByServiceWorker suffix Created 6 years, 2 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 #include "base/memory/shared_memory.h" 10 #include "base/memory/shared_memory.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 IPC_STRUCT_TRAITS_MEMBER(devtools_info) 116 IPC_STRUCT_TRAITS_MEMBER(devtools_info)
117 IPC_STRUCT_TRAITS_MEMBER(download_file_path) 117 IPC_STRUCT_TRAITS_MEMBER(download_file_path)
118 IPC_STRUCT_TRAITS_MEMBER(was_fetched_via_spdy) 118 IPC_STRUCT_TRAITS_MEMBER(was_fetched_via_spdy)
119 IPC_STRUCT_TRAITS_MEMBER(was_npn_negotiated) 119 IPC_STRUCT_TRAITS_MEMBER(was_npn_negotiated)
120 IPC_STRUCT_TRAITS_MEMBER(was_alternate_protocol_available) 120 IPC_STRUCT_TRAITS_MEMBER(was_alternate_protocol_available)
121 IPC_STRUCT_TRAITS_MEMBER(connection_info) 121 IPC_STRUCT_TRAITS_MEMBER(connection_info)
122 IPC_STRUCT_TRAITS_MEMBER(was_fetched_via_proxy) 122 IPC_STRUCT_TRAITS_MEMBER(was_fetched_via_proxy)
123 IPC_STRUCT_TRAITS_MEMBER(npn_negotiated_protocol) 123 IPC_STRUCT_TRAITS_MEMBER(npn_negotiated_protocol)
124 IPC_STRUCT_TRAITS_MEMBER(socket_address) 124 IPC_STRUCT_TRAITS_MEMBER(socket_address)
125 IPC_STRUCT_TRAITS_MEMBER(was_fetched_via_service_worker) 125 IPC_STRUCT_TRAITS_MEMBER(was_fetched_via_service_worker)
126 IPC_STRUCT_TRAITS_MEMBER(was_fallback_required_by_service_worker)
126 IPC_STRUCT_TRAITS_MEMBER(original_url_via_service_worker) 127 IPC_STRUCT_TRAITS_MEMBER(original_url_via_service_worker)
127 IPC_STRUCT_TRAITS_MEMBER(service_worker_fetch_start) 128 IPC_STRUCT_TRAITS_MEMBER(service_worker_fetch_start)
128 IPC_STRUCT_TRAITS_MEMBER(service_worker_fetch_ready) 129 IPC_STRUCT_TRAITS_MEMBER(service_worker_fetch_ready)
129 IPC_STRUCT_TRAITS_MEMBER(service_worker_fetch_end) 130 IPC_STRUCT_TRAITS_MEMBER(service_worker_fetch_end)
130 IPC_STRUCT_TRAITS_END() 131 IPC_STRUCT_TRAITS_END()
131 132
132 IPC_STRUCT_TRAITS_BEGIN(net::RedirectInfo) 133 IPC_STRUCT_TRAITS_BEGIN(net::RedirectInfo)
133 IPC_STRUCT_TRAITS_MEMBER(status_code) 134 IPC_STRUCT_TRAITS_MEMBER(status_code)
134 IPC_STRUCT_TRAITS_MEMBER(new_method) 135 IPC_STRUCT_TRAITS_MEMBER(new_method)
135 IPC_STRUCT_TRAITS_MEMBER(new_url) 136 IPC_STRUCT_TRAITS_MEMBER(new_url)
(...skipping 229 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

Powered by Google App Engine
This is Rietveld 408576698