Pass CreateDirectory errors up to IndexedDB.
[chromium-blink-merge.git] / content / child / npruntime_util.h
blobb9abc2384bac88421a4b1561aefedfe3ca2cf41f
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.
5 #ifndef CONTENT_CHILD_NPRUNTIME_UTIL_H_
6 #define CONTENT_CHILD_NPRUNTIME_UTIL_H_
8 #include "third_party/npapi/bindings/npruntime.h"
10 class Pickle;
11 class PickleIterator;
13 namespace content {
15 // Efficiently serialize/deserialize a NPIdentifier
16 bool SerializeNPIdentifier(NPIdentifier identifier, Pickle* pickle);
17 bool DeserializeNPIdentifier(PickleIterator* pickle_iter,
18 NPIdentifier* identifier);
20 } // namespace content
22 #endif // CONTENT_CHILD_NPRUNTIME_UTIL_H_