OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 // This file is used to define IPC::ParamTraits<> specializations for a number | 5 // This file is used to define IPC::ParamTraits<> specializations for a number |
6 // of types so that they can be serialized over IPC. IPC::ParamTraits<> | 6 // of types so that they can be serialized over IPC. IPC::ParamTraits<> |
7 // specializations for basic types (like int and std::string) and types in the | 7 // specializations for basic types (like int and std::string) and types in the |
8 // 'base' project can be found in ipc/ipc_message_utils.h. This file contains | 8 // 'base' project can be found in ipc/ipc_message_utils.h. This file contains |
9 // specializations for types that are shared by more than one child process. | 9 // specializations for types that are shared by more than one child process. |
10 | 10 |
11 #ifndef CHROME_COMMON_COMMON_PARAM_TRAITS_H_ | 11 #ifndef CHROME_COMMON_COMMON_PARAM_TRAITS_H_ |
(...skipping 21 matching lines...) Expand all Loading... |
33 #include "webkit/glue/webcursor.h" | 33 #include "webkit/glue/webcursor.h" |
34 #include "webkit/glue/window_open_disposition.h" | 34 #include "webkit/glue/window_open_disposition.h" |
35 | 35 |
36 // Forward declarations. | 36 // Forward declarations. |
37 struct Geoposition; | 37 struct Geoposition; |
38 class GURL; | 38 class GURL; |
39 class SkBitmap; | 39 class SkBitmap; |
40 class DictionaryValue; | 40 class DictionaryValue; |
41 class ListValue; | 41 class ListValue; |
42 struct ThumbnailScore; | 42 struct ThumbnailScore; |
43 class URLRequestStatus; | |
44 struct WebApplicationInfo; | 43 struct WebApplicationInfo; |
45 class WebCursor; | 44 class WebCursor; |
46 | 45 |
47 namespace gfx { | 46 namespace gfx { |
48 class Point; | 47 class Point; |
49 class Rect; | 48 class Rect; |
50 class Size; | 49 class Size; |
51 } // namespace gfx | 50 } // namespace gfx |
52 | 51 |
53 namespace net { | 52 namespace net { |
54 class UploadData; | 53 class UploadData; |
| 54 class URLRequestStatus; |
55 } | 55 } |
56 | 56 |
57 namespace printing { | 57 namespace printing { |
58 struct PageRange; | 58 struct PageRange; |
59 struct PrinterCapsAndDefaults; | 59 struct PrinterCapsAndDefaults; |
60 } // namespace printing | 60 } // namespace printing |
61 | 61 |
62 namespace webkit_glue { | 62 namespace webkit_glue { |
63 struct PasswordForm; | 63 struct PasswordForm; |
64 } // namespace webkit_glue | 64 } // namespace webkit_glue |
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 struct ParamTraits<printing::PrinterCapsAndDefaults> { | 339 struct ParamTraits<printing::PrinterCapsAndDefaults> { |
340 typedef printing::PrinterCapsAndDefaults param_type; | 340 typedef printing::PrinterCapsAndDefaults param_type; |
341 static void Write(Message* m, const param_type& p); | 341 static void Write(Message* m, const param_type& p); |
342 static bool Read(const Message* m, void** iter, param_type* r); | 342 static bool Read(const Message* m, void** iter, param_type* r); |
343 static void Log(const param_type& p, std::string* l); | 343 static void Log(const param_type& p, std::string* l); |
344 }; | 344 }; |
345 | 345 |
346 } // namespace IPC | 346 } // namespace IPC |
347 | 347 |
348 #endif // CHROME_COMMON_COMMON_PARAM_TRAITS_H_ | 348 #endif // CHROME_COMMON_COMMON_PARAM_TRAITS_H_ |
OLD | NEW |