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 #ifndef CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ | 5 #ifndef CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
6 #define CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ | 6 #define CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
| 11 #include "base/file_path.h" |
| 12 #include "base/ref_counted.h" |
| 13 #include "base/shared_memory.h" |
| 14 #include "base/time.h" |
| 15 |
11 #include "base/values.h" | 16 #include "base/values.h" |
12 #include "chrome/common/extensions/extension.h" | 17 #include "chrome/common/extensions/extension.h" |
13 #include "chrome/common/extensions/extension_extent.h" | 18 #include "chrome/common/extensions/extension_extent.h" |
14 #include "chrome/common/extensions/url_pattern.h" | 19 #include "chrome/common/extensions/url_pattern.h" |
15 #include "googleurl/src/gurl.h" | 20 #include "googleurl/src/gurl.h" |
16 #include "ipc/ipc_param_traits.h" | 21 #include "ipc/ipc_param_traits.h" |
17 | 22 |
18 namespace net { | 23 namespace net { |
19 class UploadData; | 24 class UploadData; |
20 } | 25 } |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 struct ParamTraits<ViewHostMsg_DomMessage_Params> { | 225 struct ParamTraits<ViewHostMsg_DomMessage_Params> { |
221 typedef ViewHostMsg_DomMessage_Params param_type; | 226 typedef ViewHostMsg_DomMessage_Params param_type; |
222 static void Write(Message* m, const param_type& p); | 227 static void Write(Message* m, const param_type& p); |
223 static bool Read(const Message* m, void** iter, param_type* p); | 228 static bool Read(const Message* m, void** iter, param_type* p); |
224 static void Log(const param_type& p, std::string* l); | 229 static void Log(const param_type& p, std::string* l); |
225 }; | 230 }; |
226 | 231 |
227 } // namespace IPC | 232 } // namespace IPC |
228 | 233 |
229 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ | 234 #endif // CHROME_COMMON_RENDER_MESSAGES_PARAMS_H_ |
OLD | NEW |