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

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

Issue 2105503002: Skip foreign fetch when the skipServiceWorker flag is set on a request. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rephrase SkipServiceWorker comments. Created 4 years, 5 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/web_url_request_util.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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 122
123 IPC_ENUM_TRAITS_MAX_VALUE(content::FetchRequestMode, 123 IPC_ENUM_TRAITS_MAX_VALUE(content::FetchRequestMode,
124 content::FETCH_REQUEST_MODE_LAST) 124 content::FETCH_REQUEST_MODE_LAST)
125 125
126 IPC_ENUM_TRAITS_MAX_VALUE(content::FetchCredentialsMode, 126 IPC_ENUM_TRAITS_MAX_VALUE(content::FetchCredentialsMode,
127 content::FETCH_CREDENTIALS_MODE_LAST) 127 content::FETCH_CREDENTIALS_MODE_LAST)
128 128
129 IPC_ENUM_TRAITS_MAX_VALUE(content::FetchRedirectMode, 129 IPC_ENUM_TRAITS_MAX_VALUE(content::FetchRedirectMode,
130 content::FetchRedirectMode::LAST) 130 content::FetchRedirectMode::LAST)
131 131
132 IPC_ENUM_TRAITS_MAX_VALUE(content::SkipServiceWorker,
133 content::SkipServiceWorker::LAST)
134
132 IPC_ENUM_TRAITS_MAX_VALUE( 135 IPC_ENUM_TRAITS_MAX_VALUE(
133 net::NetworkQualityEstimator::EffectiveConnectionType, 136 net::NetworkQualityEstimator::EffectiveConnectionType,
134 net::NetworkQualityEstimator::EFFECTIVE_CONNECTION_TYPE_LAST - 1) 137 net::NetworkQualityEstimator::EFFECTIVE_CONNECTION_TYPE_LAST - 1)
135 138
136 IPC_STRUCT_TRAITS_BEGIN(content::ResourceResponseHead) 139 IPC_STRUCT_TRAITS_BEGIN(content::ResourceResponseHead)
137 IPC_STRUCT_TRAITS_PARENT(content::ResourceResponseInfo) 140 IPC_STRUCT_TRAITS_PARENT(content::ResourceResponseInfo)
138 IPC_STRUCT_TRAITS_MEMBER(request_start) 141 IPC_STRUCT_TRAITS_MEMBER(request_start)
139 IPC_STRUCT_TRAITS_MEMBER(response_start) 142 IPC_STRUCT_TRAITS_MEMBER(response_start)
140 IPC_STRUCT_TRAITS_END() 143 IPC_STRUCT_TRAITS_END()
141 144
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 369
367 // Sent when the renderer process deletes a resource loader. 370 // Sent when the renderer process deletes a resource loader.
368 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 371 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
369 int /* request_id */) 372 int /* request_id */)
370 373
371 // Sent by the renderer when a resource request changes priority. 374 // Sent by the renderer when a resource request changes priority.
372 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, 375 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority,
373 int /* request_id */, 376 int /* request_id */,
374 net::RequestPriority, 377 net::RequestPriority,
375 int /* intra_priority_value */) 378 int /* intra_priority_value */)
OLDNEW
« no previous file with comments | « content/child/web_url_request_util.cc ('k') | content/common/resource_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698