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

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

Issue 1350823002: Revert of Reland #2 "ipc: Add a new field num_brokered_attachments to the message header." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/threaded_data_provider.cc ('k') | content/common/resource_messages.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 10 matching lines...) Expand all
21 21
22 #ifndef CONTENT_COMMON_RESOURCE_MESSAGES_H_ 22 #ifndef CONTENT_COMMON_RESOURCE_MESSAGES_H_
23 #define CONTENT_COMMON_RESOURCE_MESSAGES_H_ 23 #define CONTENT_COMMON_RESOURCE_MESSAGES_H_
24 24
25 namespace net { 25 namespace net {
26 struct LoadTimingInfo; 26 struct LoadTimingInfo;
27 } 27 }
28 28
29 namespace content { 29 namespace content {
30 struct ResourceDevToolsInfo; 30 struct ResourceDevToolsInfo;
31
32 // TODO(erikchen): Temporary code to help track http://crbug.com/527588.
33 // If |m| does not have type ResourceMsg_DataReceived, this method has no
34 // effect. Otherwise, this method checks that the |data_offset| member is less
35 // than 512kB.
36 void CheckContentsOfDataReceivedMessage(const IPC::Message* m);
37 } 31 }
38 32
39 namespace IPC { 33 namespace IPC {
40 34
41 template <> 35 template <>
42 struct ParamTraits<scoped_refptr<net::HttpResponseHeaders> > { 36 struct ParamTraits<scoped_refptr<net::HttpResponseHeaders> > {
43 typedef scoped_refptr<net::HttpResponseHeaders> param_type; 37 typedef scoped_refptr<net::HttpResponseHeaders> param_type;
44 static void Write(Message* m, const param_type& p); 38 static void Write(Message* m, const param_type& p);
45 static bool Read(const Message* m, base::PickleIterator* iter, param_type* r); 39 static bool Read(const Message* m, base::PickleIterator* iter, param_type* r);
46 static void Log(const param_type& p, std::string* l); 40 static void Log(const param_type& p, std::string* l);
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 397
404 // Sent when the renderer process deletes a resource loader. 398 // Sent when the renderer process deletes a resource loader.
405 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 399 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
406 int /* request_id */) 400 int /* request_id */)
407 401
408 // Sent by the renderer when a resource request changes priority. 402 // Sent by the renderer when a resource request changes priority.
409 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, 403 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority,
410 int /* request_id */, 404 int /* request_id */,
411 net::RequestPriority, 405 net::RequestPriority,
412 int /* intra_priority_value */) 406 int /* intra_priority_value */)
OLDNEW
« no previous file with comments | « content/child/threaded_data_provider.cc ('k') | content/common/resource_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698