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

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

Issue 2484633004: Change Lo-Fi bool to bitmask to support multiple Previews types (Closed)
Patch Set: fix ContentResourceProviderTest Created 3 years, 11 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/common/navigation_params.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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 IPC_STRUCT_TRAITS_MEMBER(alpn_negotiated_protocol) 170 IPC_STRUCT_TRAITS_MEMBER(alpn_negotiated_protocol)
171 IPC_STRUCT_TRAITS_MEMBER(socket_address) 171 IPC_STRUCT_TRAITS_MEMBER(socket_address)
172 IPC_STRUCT_TRAITS_MEMBER(was_fetched_via_service_worker) 172 IPC_STRUCT_TRAITS_MEMBER(was_fetched_via_service_worker)
173 IPC_STRUCT_TRAITS_MEMBER(was_fallback_required_by_service_worker) 173 IPC_STRUCT_TRAITS_MEMBER(was_fallback_required_by_service_worker)
174 IPC_STRUCT_TRAITS_MEMBER(url_list_via_service_worker) 174 IPC_STRUCT_TRAITS_MEMBER(url_list_via_service_worker)
175 IPC_STRUCT_TRAITS_MEMBER(response_type_via_service_worker) 175 IPC_STRUCT_TRAITS_MEMBER(response_type_via_service_worker)
176 IPC_STRUCT_TRAITS_MEMBER(service_worker_start_time) 176 IPC_STRUCT_TRAITS_MEMBER(service_worker_start_time)
177 IPC_STRUCT_TRAITS_MEMBER(service_worker_ready_time) 177 IPC_STRUCT_TRAITS_MEMBER(service_worker_ready_time)
178 IPC_STRUCT_TRAITS_MEMBER(is_in_cache_storage) 178 IPC_STRUCT_TRAITS_MEMBER(is_in_cache_storage)
179 IPC_STRUCT_TRAITS_MEMBER(cache_storage_cache_name) 179 IPC_STRUCT_TRAITS_MEMBER(cache_storage_cache_name)
180 IPC_STRUCT_TRAITS_MEMBER(is_using_lofi) 180 IPC_STRUCT_TRAITS_MEMBER(previews_state)
181 IPC_STRUCT_TRAITS_MEMBER(effective_connection_type) 181 IPC_STRUCT_TRAITS_MEMBER(effective_connection_type)
182 IPC_STRUCT_TRAITS_MEMBER(certificate) 182 IPC_STRUCT_TRAITS_MEMBER(certificate)
183 IPC_STRUCT_TRAITS_MEMBER(cert_status) 183 IPC_STRUCT_TRAITS_MEMBER(cert_status)
184 IPC_STRUCT_TRAITS_MEMBER(ssl_connection_status) 184 IPC_STRUCT_TRAITS_MEMBER(ssl_connection_status)
185 IPC_STRUCT_TRAITS_MEMBER(ssl_key_exchange_group) 185 IPC_STRUCT_TRAITS_MEMBER(ssl_key_exchange_group)
186 IPC_STRUCT_TRAITS_MEMBER(signed_certificate_timestamps) 186 IPC_STRUCT_TRAITS_MEMBER(signed_certificate_timestamps)
187 IPC_STRUCT_TRAITS_MEMBER(cors_exposed_header_names) 187 IPC_STRUCT_TRAITS_MEMBER(cors_exposed_header_names)
188 IPC_STRUCT_TRAITS_END() 188 IPC_STRUCT_TRAITS_END()
189 189
190 IPC_ENUM_TRAITS_MAX_VALUE(net::URLRequest::ReferrerPolicy, 190 IPC_ENUM_TRAITS_MAX_VALUE(net::URLRequest::ReferrerPolicy,
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 IPC_STRUCT_TRAITS_MEMBER(render_frame_id) 240 IPC_STRUCT_TRAITS_MEMBER(render_frame_id)
241 IPC_STRUCT_TRAITS_MEMBER(is_main_frame) 241 IPC_STRUCT_TRAITS_MEMBER(is_main_frame)
242 IPC_STRUCT_TRAITS_MEMBER(parent_is_main_frame) 242 IPC_STRUCT_TRAITS_MEMBER(parent_is_main_frame)
243 IPC_STRUCT_TRAITS_MEMBER(parent_render_frame_id) 243 IPC_STRUCT_TRAITS_MEMBER(parent_render_frame_id)
244 IPC_STRUCT_TRAITS_MEMBER(transition_type) 244 IPC_STRUCT_TRAITS_MEMBER(transition_type)
245 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry) 245 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry)
246 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id) 246 IPC_STRUCT_TRAITS_MEMBER(transferred_request_child_id)
247 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id) 247 IPC_STRUCT_TRAITS_MEMBER(transferred_request_request_id)
248 IPC_STRUCT_TRAITS_MEMBER(allow_download) 248 IPC_STRUCT_TRAITS_MEMBER(allow_download)
249 IPC_STRUCT_TRAITS_MEMBER(report_raw_headers) 249 IPC_STRUCT_TRAITS_MEMBER(report_raw_headers)
250 IPC_STRUCT_TRAITS_MEMBER(lofi_state) 250 IPC_STRUCT_TRAITS_MEMBER(previews_state)
251 IPC_STRUCT_TRAITS_MEMBER(resource_body_stream_url) 251 IPC_STRUCT_TRAITS_MEMBER(resource_body_stream_url)
252 IPC_STRUCT_TRAITS_MEMBER(initiated_in_secure_context) 252 IPC_STRUCT_TRAITS_MEMBER(initiated_in_secure_context)
253 IPC_STRUCT_TRAITS_MEMBER(download_to_network_cache_only) 253 IPC_STRUCT_TRAITS_MEMBER(download_to_network_cache_only)
254 IPC_STRUCT_TRAITS_END() 254 IPC_STRUCT_TRAITS_END()
255 255
256 // Parameters for a ResourceMsg_RequestComplete 256 // Parameters for a ResourceMsg_RequestComplete
257 IPC_STRUCT_TRAITS_BEGIN(content::ResourceRequestCompletionStatus) 257 IPC_STRUCT_TRAITS_BEGIN(content::ResourceRequestCompletionStatus)
258 IPC_STRUCT_TRAITS_MEMBER(error_code) 258 IPC_STRUCT_TRAITS_MEMBER(error_code)
259 IPC_STRUCT_TRAITS_MEMBER(was_ignored_by_handler) 259 IPC_STRUCT_TRAITS_MEMBER(was_ignored_by_handler)
260 IPC_STRUCT_TRAITS_MEMBER(exists_in_cache) 260 IPC_STRUCT_TRAITS_MEMBER(exists_in_cache)
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 371
372 // Sent when the renderer process deletes a resource loader. 372 // Sent when the renderer process deletes a resource loader.
373 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 373 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
374 int /* request_id */) 374 int /* request_id */)
375 375
376 // Sent by the renderer when a resource request changes priority. 376 // Sent by the renderer when a resource request changes priority.
377 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, 377 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority,
378 int /* request_id */, 378 int /* request_id */,
379 net::RequestPriority, 379 net::RequestPriority,
380 int /* intra_priority_value */) 380 int /* intra_priority_value */)
OLDNEW
« no previous file with comments | « content/common/navigation_params.cc ('k') | content/common/resource_request.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698