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

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

Issue 527713002: [ServiceWorker] Introduce skip_service_worker flag and remove LOAD_BYPASS_CACHE check. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Introduce skip_service_worker flag Created 6 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
« no previous file with comments | « content/child/resource_dispatcher.cc ('k') | content/renderer/render_frame_impl.cc » ('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 #include "base/memory/shared_memory.h" 10 #include "base/memory/shared_memory.h"
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 IPC_STRUCT_MEMBER(uint32, request_context) 178 IPC_STRUCT_MEMBER(uint32, request_context)
179 179
180 // Indicates which frame (or worker context) the request is being loaded into, 180 // Indicates which frame (or worker context) the request is being loaded into,
181 // or kAppCacheNoHostId. 181 // or kAppCacheNoHostId.
182 IPC_STRUCT_MEMBER(int, appcache_host_id) 182 IPC_STRUCT_MEMBER(int, appcache_host_id)
183 183
184 // Indicates which frame (or worker context) the request is being loaded into, 184 // Indicates which frame (or worker context) the request is being loaded into,
185 // or kInvalidServiceWorkerProviderId. 185 // or kInvalidServiceWorkerProviderId.
186 IPC_STRUCT_MEMBER(int, service_worker_provider_id) 186 IPC_STRUCT_MEMBER(int, service_worker_provider_id)
187 187
188 // True if the request should not be handled by the ServiceWorker.
189 IPC_STRUCT_MEMBER(bool, skip_service_worker)
190
188 // Optional resource request body (may be null). 191 // Optional resource request body (may be null).
189 IPC_STRUCT_MEMBER(scoped_refptr<content::ResourceRequestBody>, 192 IPC_STRUCT_MEMBER(scoped_refptr<content::ResourceRequestBody>,
190 request_body) 193 request_body)
191 194
192 IPC_STRUCT_MEMBER(bool, download_to_file) 195 IPC_STRUCT_MEMBER(bool, download_to_file)
193 196
194 // True if the request was user initiated. 197 // True if the request was user initiated.
195 IPC_STRUCT_MEMBER(bool, has_user_gesture) 198 IPC_STRUCT_MEMBER(bool, has_user_gesture)
196 199
197 // True if load timing data should be collected for request. 200 // True if load timing data should be collected for request.
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 355
353 // Sent when the renderer process deletes a resource loader. 356 // Sent when the renderer process deletes a resource loader.
354 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 357 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
355 int /* request_id */) 358 int /* request_id */)
356 359
357 // Sent by the renderer when a resource request changes priority. 360 // Sent by the renderer when a resource request changes priority.
358 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, 361 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority,
359 int /* request_id */, 362 int /* request_id */,
360 net::RequestPriority, 363 net::RequestPriority,
361 int /* intra_priority_value */) 364 int /* intra_priority_value */)
OLDNEW
« no previous file with comments | « content/child/resource_dispatcher.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698