OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 WEBKIT_GLUE_NPRUNTIME_UTIL_H_ | 5 #ifndef WEBKIT_GLUE_NPRUNTIME_UTIL_H_ |
6 #define WEBKIT_GLUE_NPRUNTIME_UTIL_H_ | 6 #define WEBKIT_GLUE_NPRUNTIME_UTIL_H_ |
7 | 7 |
8 #include "third_party/npapi/bindings/npruntime.h" | 8 #include "third_party/npapi/bindings/npruntime.h" |
| 9 #include "webkit/glue/webkit_glue_export.h" |
9 | 10 |
10 class Pickle; | 11 class Pickle; |
11 | 12 |
12 namespace webkit_glue { | 13 namespace webkit_glue { |
13 | 14 |
14 // Efficiently serialize/deserialize a NPIdentifier | 15 // Efficiently serialize/deserialize a NPIdentifier |
15 bool SerializeNPIdentifier(NPIdentifier identifier, Pickle* pickle); | 16 WEBKIT_GLUE_EXPORT bool SerializeNPIdentifier(NPIdentifier identifier, |
16 bool DeserializeNPIdentifier(const Pickle& pickle, void** pickle_iter, | 17 Pickle* pickle); |
17 NPIdentifier* identifier); | 18 WEBKIT_GLUE_EXPORT bool DeserializeNPIdentifier(const Pickle& pickle, |
| 19 void** pickle_iter, |
| 20 NPIdentifier* identifier); |
18 | 21 |
19 } // namespace webkit_glue | 22 } // namespace webkit_glue |
20 | 23 |
21 #endif // WEBKIT_GLUE_NPRUNTIME_UTIL_H_ | 24 #endif // WEBKIT_GLUE_NPRUNTIME_UTIL_H_ |
OLD | NEW |