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

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

Issue 2254693002: Delay generation of User-Agent header to URLRequestHttpJob and accept custom User-Agent from XHR/Fe… Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed Android test Created 4 years, 4 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 208
209 IPC_STRUCT_TRAITS_BEGIN(content::ResourceRequest) 209 IPC_STRUCT_TRAITS_BEGIN(content::ResourceRequest)
210 IPC_STRUCT_TRAITS_MEMBER(method) 210 IPC_STRUCT_TRAITS_MEMBER(method)
211 IPC_STRUCT_TRAITS_MEMBER(url) 211 IPC_STRUCT_TRAITS_MEMBER(url)
212 IPC_STRUCT_TRAITS_MEMBER(first_party_for_cookies) 212 IPC_STRUCT_TRAITS_MEMBER(first_party_for_cookies)
213 IPC_STRUCT_TRAITS_MEMBER(request_initiator) 213 IPC_STRUCT_TRAITS_MEMBER(request_initiator)
214 IPC_STRUCT_TRAITS_MEMBER(referrer) 214 IPC_STRUCT_TRAITS_MEMBER(referrer)
215 IPC_STRUCT_TRAITS_MEMBER(referrer_policy) 215 IPC_STRUCT_TRAITS_MEMBER(referrer_policy)
216 IPC_STRUCT_TRAITS_MEMBER(visiblity_state) 216 IPC_STRUCT_TRAITS_MEMBER(visiblity_state)
217 IPC_STRUCT_TRAITS_MEMBER(headers) 217 IPC_STRUCT_TRAITS_MEMBER(headers)
218 IPC_STRUCT_TRAITS_MEMBER(default_user_agent)
218 IPC_STRUCT_TRAITS_MEMBER(load_flags) 219 IPC_STRUCT_TRAITS_MEMBER(load_flags)
219 IPC_STRUCT_TRAITS_MEMBER(origin_pid) 220 IPC_STRUCT_TRAITS_MEMBER(origin_pid)
220 IPC_STRUCT_TRAITS_MEMBER(resource_type) 221 IPC_STRUCT_TRAITS_MEMBER(resource_type)
221 IPC_STRUCT_TRAITS_MEMBER(priority) 222 IPC_STRUCT_TRAITS_MEMBER(priority)
222 IPC_STRUCT_TRAITS_MEMBER(request_context) 223 IPC_STRUCT_TRAITS_MEMBER(request_context)
223 IPC_STRUCT_TRAITS_MEMBER(appcache_host_id) 224 IPC_STRUCT_TRAITS_MEMBER(appcache_host_id)
224 IPC_STRUCT_TRAITS_MEMBER(should_reset_appcache) 225 IPC_STRUCT_TRAITS_MEMBER(should_reset_appcache)
225 IPC_STRUCT_TRAITS_MEMBER(service_worker_provider_id) 226 IPC_STRUCT_TRAITS_MEMBER(service_worker_provider_id)
226 IPC_STRUCT_TRAITS_MEMBER(originated_from_service_worker) 227 IPC_STRUCT_TRAITS_MEMBER(originated_from_service_worker)
227 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker) 228 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker)
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 376
376 // Sent when the renderer process deletes a resource loader. 377 // Sent when the renderer process deletes a resource loader.
377 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 378 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
378 int /* request_id */) 379 int /* request_id */)
379 380
380 // Sent by the renderer when a resource request changes priority. 381 // Sent by the renderer when a resource request changes priority.
381 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, 382 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority,
382 int /* request_id */, 383 int /* request_id */,
383 net::RequestPriority, 384 net::RequestPriority,
384 int /* intra_priority_value */) 385 int /* intra_priority_value */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698