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

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

Issue 2883763002: Expose ECT to render frames, Blink and NetInfo (Closed)
Patch Set: rebased Created 3 years, 6 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
11 #include <stdint.h> 11 #include <stdint.h>
12 12
13 #include "base/memory/shared_memory.h" 13 #include "base/memory/shared_memory.h"
14 #include "base/process/process.h" 14 #include "base/process/process.h"
15 #include "content/common/content_param_traits_macros.h" 15 #include "content/common/content_param_traits_macros.h"
16 #include "content/common/navigation_params.h" 16 #include "content/common/navigation_params.h"
17 #include "content/common/resource_request.h" 17 #include "content/common/resource_request.h"
18 #include "content/common/resource_request_body_impl.h" 18 #include "content/common/resource_request_body_impl.h"
19 #include "content/common/resource_request_completion_status.h" 19 #include "content/common/resource_request_completion_status.h"
20 #include "content/common/service_worker/service_worker_types.h" 20 #include "content/common/service_worker/service_worker_types.h"
21 #include "content/public/common/common_param_traits.h" 21 #include "content/public/common/common_param_traits.h"
22 #include "content/public/common/resource_response.h" 22 #include "content/public/common/resource_response.h"
23 #include "ipc/ipc_message_macros.h" 23 #include "ipc/ipc_message_macros.h"
24 #include "net/base/request_priority.h" 24 #include "net/base/request_priority.h"
25 #include "net/cert/ct_policy_status.h" 25 #include "net/cert/ct_policy_status.h"
26 #include "net/cert/signed_certificate_timestamp.h" 26 #include "net/cert/signed_certificate_timestamp.h"
27 #include "net/cert/signed_certificate_timestamp_and_status.h" 27 #include "net/cert/signed_certificate_timestamp_and_status.h"
28 #include "net/http/http_response_info.h" 28 #include "net/http/http_response_info.h"
29 #include "net/nqe/effective_connection_type.h"
30 #include "net/ssl/ssl_info.h" 29 #include "net/ssl/ssl_info.h"
31 #include "net/url_request/redirect_info.h" 30 #include "net/url_request/redirect_info.h"
32 #include "third_party/WebKit/public/platform/WebMixedContentContextType.h" 31 #include "third_party/WebKit/public/platform/WebMixedContentContextType.h"
33 32
34 #ifndef CONTENT_COMMON_RESOURCE_MESSAGES_H_ 33 #ifndef CONTENT_COMMON_RESOURCE_MESSAGES_H_
35 #define CONTENT_COMMON_RESOURCE_MESSAGES_H_ 34 #define CONTENT_COMMON_RESOURCE_MESSAGES_H_
36 35
37 namespace net { 36 namespace net {
38 struct LoadTimingInfo; 37 struct LoadTimingInfo;
39 } 38 }
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 162
164 IPC_ENUM_TRAITS_MAX_VALUE(content::FetchCredentialsMode, 163 IPC_ENUM_TRAITS_MAX_VALUE(content::FetchCredentialsMode,
165 content::FETCH_CREDENTIALS_MODE_LAST) 164 content::FETCH_CREDENTIALS_MODE_LAST)
166 165
167 IPC_ENUM_TRAITS_MAX_VALUE(content::FetchRedirectMode, 166 IPC_ENUM_TRAITS_MAX_VALUE(content::FetchRedirectMode,
168 content::FetchRedirectMode::LAST) 167 content::FetchRedirectMode::LAST)
169 168
170 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerMode, 169 IPC_ENUM_TRAITS_MAX_VALUE(content::ServiceWorkerMode,
171 content::ServiceWorkerMode::LAST) 170 content::ServiceWorkerMode::LAST)
172 171
173 IPC_ENUM_TRAITS_MAX_VALUE(net::EffectiveConnectionType,
174 net::EFFECTIVE_CONNECTION_TYPE_LAST - 1)
175
176 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebMixedContentContextType, 172 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebMixedContentContextType,
177 blink::WebMixedContentContextType::kLast) 173 blink::WebMixedContentContextType::kLast)
178 174
179 IPC_STRUCT_TRAITS_BEGIN(content::ResourceResponseHead) 175 IPC_STRUCT_TRAITS_BEGIN(content::ResourceResponseHead)
180 IPC_STRUCT_TRAITS_PARENT(content::ResourceResponseInfo) 176 IPC_STRUCT_TRAITS_PARENT(content::ResourceResponseInfo)
181 IPC_STRUCT_TRAITS_MEMBER(request_start) 177 IPC_STRUCT_TRAITS_MEMBER(request_start)
182 IPC_STRUCT_TRAITS_MEMBER(response_start) 178 IPC_STRUCT_TRAITS_MEMBER(response_start)
183 IPC_STRUCT_TRAITS_END() 179 IPC_STRUCT_TRAITS_END()
184 180
185 IPC_STRUCT_TRAITS_BEGIN(content::SyncLoadResult) 181 IPC_STRUCT_TRAITS_BEGIN(content::SyncLoadResult)
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 403
408 // Sent when the renderer process deletes a resource loader. 404 // Sent when the renderer process deletes a resource loader.
409 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 405 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
410 int /* request_id */) 406 int /* request_id */)
411 407
412 // Sent by the renderer when a resource request changes priority. 408 // Sent by the renderer when a resource request changes priority.
413 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, 409 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority,
414 int /* request_id */, 410 int /* request_id */,
415 net::RequestPriority, 411 net::RequestPriority,
416 int /* intra_priority_value */) 412 int /* intra_priority_value */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698