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

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

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Rebased again Created 3 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
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 #ifndef CONTENT_COMMON_RESOURCE_MESSAGES_H_
6 #define CONTENT_COMMON_RESOURCE_MESSAGES_H_
7
5 // IPC messages for resource loading. 8 // IPC messages for resource loading.
6 // 9 //
7 // NOTE: All messages must send an |int request_id| as their first parameter. 10 // NOTE: All messages must send an |int request_id| as their first parameter.
8 11
9 // Multiply-included message file, hence no include guard.
10
11 #include <stdint.h> 12 #include <stdint.h>
12 13
13 #include "base/memory/shared_memory.h" 14 #include "base/memory/shared_memory.h"
14 #include "base/process/process.h" 15 #include "base/process/process.h"
15 #include "content/common/content_param_traits_macros.h" 16 #include "content/common/content_param_traits_macros.h"
16 #include "content/common/navigation_params.h" 17 #include "content/common/navigation_params.h"
17 #include "content/public/common/common_param_traits.h" 18 #include "content/public/common/common_param_traits.h"
18 #include "content/public/common/resource_request.h" 19 #include "content/public/common/resource_request.h"
19 #include "content/public/common/resource_request_body.h" 20 #include "content/public/common/resource_request_body.h"
20 #include "content/public/common/resource_request_completion_status.h" 21 #include "content/public/common/resource_request_completion_status.h"
21 #include "content/public/common/resource_response.h" 22 #include "content/public/common/resource_response.h"
22 #include "content/public/common/service_worker_modes.h" 23 #include "content/public/common/service_worker_modes.h"
23 #include "ipc/ipc_message_macros.h" 24 #include "ipc/ipc_message_macros.h"
24 #include "net/base/request_priority.h" 25 #include "net/base/request_priority.h"
25 #include "net/cert/ct_policy_status.h" 26 #include "net/cert/ct_policy_status.h"
26 #include "net/cert/signed_certificate_timestamp.h" 27 #include "net/cert/signed_certificate_timestamp.h"
27 #include "net/cert/signed_certificate_timestamp_and_status.h" 28 #include "net/cert/signed_certificate_timestamp_and_status.h"
28 #include "net/http/http_response_info.h" 29 #include "net/http/http_response_info.h"
29 #include "net/ssl/ssl_info.h" 30 #include "net/ssl/ssl_info.h"
30 #include "net/traffic_annotation/network_traffic_annotation.h" 31 #include "net/traffic_annotation/network_traffic_annotation.h"
31 #include "net/url_request/redirect_info.h" 32 #include "net/url_request/redirect_info.h"
32 #include "third_party/WebKit/public/platform/WebMixedContentContextType.h" 33 #include "third_party/WebKit/public/platform/WebMixedContentContextType.h"
33 34
34 #ifndef CONTENT_COMMON_RESOURCE_MESSAGES_H_ 35 #ifndef INTERNAL_CONTENT_COMMON_RESOURCE_MESSAGES_H_
35 #define CONTENT_COMMON_RESOURCE_MESSAGES_H_ 36 #define INTERNAL_CONTENT_COMMON_RESOURCE_MESSAGES_H_
36 37
37 namespace net { 38 namespace net {
38 struct LoadTimingInfo; 39 struct LoadTimingInfo;
39 } 40 }
40 41
41 namespace content { 42 namespace content {
42 struct ResourceDevToolsInfo; 43 struct ResourceDevToolsInfo;
43 } 44 }
44 45
45 namespace IPC { 46 namespace IPC {
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 static void GetSize(base::PickleSizer* s, const param_type& p); 128 static void GetSize(base::PickleSizer* s, const param_type& p);
128 static void Write(base::Pickle* m, const param_type& p); 129 static void Write(base::Pickle* m, const param_type& p);
129 static bool Read(const base::Pickle* m, 130 static bool Read(const base::Pickle* m,
130 base::PickleIterator* iter, 131 base::PickleIterator* iter,
131 param_type* r); 132 param_type* r);
132 static void Log(const param_type& p, std::string* l); 133 static void Log(const param_type& p, std::string* l);
133 }; 134 };
134 135
135 } // namespace IPC 136 } // namespace IPC
136 137
137 #endif // CONTENT_COMMON_RESOURCE_MESSAGES_H_ 138 #endif // INTERNAL_CONTENT_COMMON_RESOURCE_MESSAGES_H_
138 139
139 140
140 #define IPC_MESSAGE_START ResourceMsgStart 141 #define IPC_MESSAGE_START ResourceMsgStart
141 #undef IPC_MESSAGE_EXPORT 142 #undef IPC_MESSAGE_EXPORT
142 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 143 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
143 144
144 IPC_ENUM_TRAITS_MAX_VALUE( \ 145 IPC_ENUM_TRAITS_MAX_VALUE( \
145 net::HttpResponseInfo::ConnectionInfo, \ 146 net::HttpResponseInfo::ConnectionInfo, \
146 net::HttpResponseInfo::NUM_OF_CONNECTION_INFOS - 1) 147 net::HttpResponseInfo::NUM_OF_CONNECTION_INFOS - 1)
147 148
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 409
409 // Sent when the renderer process deletes a resource loader. 410 // Sent when the renderer process deletes a resource loader.
410 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 411 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
411 int /* request_id */) 412 int /* request_id */)
412 413
413 // Sent by the renderer when a resource request changes priority. 414 // Sent by the renderer when a resource request changes priority.
414 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, 415 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority,
415 int /* request_id */, 416 int /* request_id */,
416 net::RequestPriority, 417 net::RequestPriority,
417 int /* intra_priority_value */) 418 int /* intra_priority_value */)
419
420 #endif // CONTENT_COMMON_RESOURCE_MESSAGES_H_
OLDNEW
« no previous file with comments | « content/common/render_process_messages.h ('k') | content/common/sandbox_linux/bpf_gpu_policy_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698