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

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

Issue 492873002: Collapse fileapi, webkit_blob, webkit_database, quota, and webkit_common namespaces into single sto… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos build Created 6 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 | Annotate | Revision Log
« no previous file with comments | « content/common/quota_messages.h ('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 22 matching lines...) Expand all
33 33
34 template <> 34 template <>
35 struct ParamTraits<scoped_refptr<net::HttpResponseHeaders> > { 35 struct ParamTraits<scoped_refptr<net::HttpResponseHeaders> > {
36 typedef scoped_refptr<net::HttpResponseHeaders> param_type; 36 typedef scoped_refptr<net::HttpResponseHeaders> param_type;
37 static void Write(Message* m, const param_type& p); 37 static void Write(Message* m, const param_type& p);
38 static bool Read(const Message* m, PickleIterator* iter, param_type* r); 38 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
39 static void Log(const param_type& p, std::string* l); 39 static void Log(const param_type& p, std::string* l);
40 }; 40 };
41 41
42 template <> 42 template <>
43 struct CONTENT_EXPORT ParamTraits<webkit_common::DataElement> { 43 struct CONTENT_EXPORT ParamTraits<storage::DataElement> {
44 typedef webkit_common::DataElement param_type; 44 typedef storage::DataElement param_type;
45 static void Write(Message* m, const param_type& p); 45 static void Write(Message* m, const param_type& p);
46 static bool Read(const Message* m, PickleIterator* iter, param_type* r); 46 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
47 static void Log(const param_type& p, std::string* l); 47 static void Log(const param_type& p, std::string* l);
48 }; 48 };
49 49
50 template <> 50 template <>
51 struct ParamTraits<scoped_refptr<content::ResourceDevToolsInfo> > { 51 struct ParamTraits<scoped_refptr<content::ResourceDevToolsInfo> > {
52 typedef scoped_refptr<content::ResourceDevToolsInfo> param_type; 52 typedef scoped_refptr<content::ResourceDevToolsInfo> param_type;
53 static void Write(Message* m, const param_type& p); 53 static void Write(Message* m, const param_type& p);
54 static bool Read(const Message* m, PickleIterator* iter, param_type* r); 54 static bool Read(const Message* m, PickleIterator* iter, param_type* r);
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 352
353 // Sent when the renderer process deletes a resource loader. 353 // Sent when the renderer process deletes a resource loader.
354 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile, 354 IPC_MESSAGE_CONTROL1(ResourceHostMsg_ReleaseDownloadedFile,
355 int /* request_id */) 355 int /* request_id */)
356 356
357 // Sent by the renderer when a resource request changes priority. 357 // Sent by the renderer when a resource request changes priority.
358 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority, 358 IPC_MESSAGE_CONTROL3(ResourceHostMsg_DidChangePriority,
359 int /* request_id */, 359 int /* request_id */,
360 net::RequestPriority, 360 net::RequestPriority,
361 int /* intra_priority_value */) 361 int /* intra_priority_value */)
OLDNEW
« no previous file with comments | « content/common/quota_messages.h ('k') | content/common/resource_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698