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