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