OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_UTILITY_MESSAGES_H_ | 5 #ifndef CHROME_COMMON_UTILITY_MESSAGES_H_ |
6 #define CHROME_COMMON_UTILITY_MESSAGES_H_ | 6 #define CHROME_COMMON_UTILITY_MESSAGES_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "base/file_path.h" | 12 #include "base/file_path.h" |
13 #include "base/values.h" | 13 #include "base/values.h" |
14 #include "chrome/common/common_param_traits.h" | 14 #include "chrome/common/common_param_traits.h" |
15 #include "chrome/common/extensions/update_manifest.h" | 15 #include "chrome/common/extensions/update_manifest.h" |
| 16 #include "chrome/common/indexed_db_param_traits.h" |
16 #include "ipc/ipc_message_utils.h" | 17 #include "ipc/ipc_message_utils.h" |
17 | 18 |
18 namespace IPC { | 19 namespace IPC { |
19 | 20 |
20 // Traits for UpdateManifest::Result. | 21 // Traits for UpdateManifest::Result. |
21 template <> | 22 template <> |
22 struct ParamTraits<UpdateManifest::Result> { | 23 struct ParamTraits<UpdateManifest::Result> { |
23 typedef UpdateManifest::Result param_type; | 24 typedef UpdateManifest::Result param_type; |
24 static void Write(Message* m, const param_type& p) { | 25 static void Write(Message* m, const param_type& p) { |
25 WriteParam(m, p.extension_id); | 26 WriteParam(m, p.extension_id); |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 l->append(L")"); | 70 l->append(L")"); |
70 } | 71 } |
71 }; | 72 }; |
72 | 73 |
73 } // namespace IPC | 74 } // namespace IPC |
74 | 75 |
75 #define MESSAGES_INTERNAL_FILE "chrome/common/utility_messages_internal.h" | 76 #define MESSAGES_INTERNAL_FILE "chrome/common/utility_messages_internal.h" |
76 #include "ipc/ipc_message_macros.h" | 77 #include "ipc/ipc_message_macros.h" |
77 | 78 |
78 #endif // CHROME_COMMON_UTILITY_MESSAGES_H_ | 79 #endif // CHROME_COMMON_UTILITY_MESSAGES_H_ |
OLD | NEW |