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

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

Issue 17513002: Move DataElement into webkit/common (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_browser_extensions.gypi ('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/process.h" 10 #include "base/process.h"
(...skipping 21 matching lines...) Expand all
32 32
33 template <> 33 template <>
34 struct ParamTraits<scoped_refptr<net::HttpResponseHeaders> > { 34 struct ParamTraits<scoped_refptr<net::HttpResponseHeaders> > {
35 typedef scoped_refptr<net::HttpResponseHeaders> param_type; 35 typedef scoped_refptr<net::HttpResponseHeaders> param_type;
36 static void Write(Message* m, const param_type& p); 36 static void Write(Message* m, const param_type& p);
37 static bool Read(const Message* m, PickleIterator* iter, param_type* r); 37 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
38 static void Log(const param_type& p, std::string* l); 38 static void Log(const param_type& p, std::string* l);
39 }; 39 };
40 40
41 template <> 41 template <>
42 struct CONTENT_EXPORT ParamTraits<webkit_base::DataElement> { 42 struct CONTENT_EXPORT ParamTraits<webkit_common::DataElement> {
43 typedef webkit_base::DataElement param_type; 43 typedef webkit_common::DataElement param_type;
44 static void Write(Message* m, const param_type& p); 44 static void Write(Message* m, const param_type& p);
45 static bool Read(const Message* m, PickleIterator* iter, param_type* r); 45 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
46 static void Log(const param_type& p, std::string* l); 46 static void Log(const param_type& p, std::string* l);
47 }; 47 };
48 48
49 template <> 49 template <>
50 struct ParamTraits<scoped_refptr<webkit_glue::ResourceDevToolsInfo> > { 50 struct ParamTraits<scoped_refptr<webkit_glue::ResourceDevToolsInfo> > {
51 typedef scoped_refptr<webkit_glue::ResourceDevToolsInfo> param_type; 51 typedef scoped_refptr<webkit_glue::ResourceDevToolsInfo> param_type;
52 static void Write(Message* m, const param_type& p); 52 static void Write(Message* m, const param_type& p);
53 static bool Read(const Message* m, PickleIterator* iter, param_type* r); 53 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 int /* request_id */) 306 int /* request_id */)
307 307
308 // Sent when the renderer process deletes a resource loader. 308 // Sent when the renderer process deletes a resource loader.
309 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 309 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
310 int /* request_id */) 310 int /* request_id */)
311 311
312 // Sent by the renderer when a resource request changes priority. 312 // Sent by the renderer when a resource request changes priority.
313 IPC_MESSAGE_ROUTED2(ResourceHostMsg_DidChangePriority, 313 IPC_MESSAGE_ROUTED2(ResourceHostMsg_DidChangePriority,
314 int /* request_id */, 314 int /* request_id */,
315 net::RequestPriority) 315 net::RequestPriority)
OLDNEW
« no previous file with comments | « chrome/chrome_browser_extensions.gypi ('k') | content/common/resource_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698