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 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 10 class Pickle; 11 12 namespace webkit_glue { 13 14 // Efficiently serialize/deserialize a NPIdentifier 15 bool SerializeNPIdentifier(NPIdentifier identifier, Pickle* pickle); 16 bool DeserializeNPIdentifier(const Pickle& pickle, void** pickle_iter, 17 NPIdentifier* identifier); 18 19 } // namespace webkit_glue 20 21 #endif // WEBKIT_GLUE_NPRUNTIME_UTIL_H_ 22