OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef WEBKIT_GLUE_NPRUNTIME_UTIL_H_ | |
6 #define WEBKIT_GLUE_NPRUNTIME_UTIL_H_ | |
7 | |
8 #include "third_party/npapi/bindings/npruntime.h" | |
9 #include "webkit/glue/webkit_glue_export.h" | |
10 | |
11 class Pickle; | |
12 class PickleIterator; | |
13 | |
14 namespace webkit_glue { | |
15 | |
16 // Efficiently serialize/deserialize a NPIdentifier | |
17 WEBKIT_GLUE_EXPORT bool SerializeNPIdentifier(NPIdentifier identifier, | |
18 Pickle* pickle); | |
19 WEBKIT_GLUE_EXPORT bool DeserializeNPIdentifier(PickleIterator* pickle_iter, | |
20 NPIdentifier* identifier); | |
21 | |
22 } // namespace webkit_glue | |
23 | |
24 #endif // WEBKIT_GLUE_NPRUNTIME_UTIL_H_ | |
OLD | NEW |