Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(743)

Side by Side Diff: webkit/glue/npruntime_util.h

Issue 9447084: Refactor Pickle Read methods to use higher performance PickleIterator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compile (racing with incoming CLs) Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/glue/glue_serialize.cc ('k') | webkit/glue/npruntime_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 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 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 WEBKIT_GLUE_NPRUNTIME_UTIL_H_ 5 #ifndef WEBKIT_GLUE_NPRUNTIME_UTIL_H_
6 #define WEBKIT_GLUE_NPRUNTIME_UTIL_H_ 6 #define WEBKIT_GLUE_NPRUNTIME_UTIL_H_
7 7
8 #include "third_party/npapi/bindings/npruntime.h" 8 #include "third_party/npapi/bindings/npruntime.h"
9 #include "webkit/glue/webkit_glue_export.h" 9 #include "webkit/glue/webkit_glue_export.h"
10 10
11 class Pickle; 11 class Pickle;
12 class PickleIterator;
12 13
13 namespace webkit_glue { 14 namespace webkit_glue {
14 15
15 // Efficiently serialize/deserialize a NPIdentifier 16 // Efficiently serialize/deserialize a NPIdentifier
16 WEBKIT_GLUE_EXPORT bool SerializeNPIdentifier(NPIdentifier identifier, 17 WEBKIT_GLUE_EXPORT bool SerializeNPIdentifier(NPIdentifier identifier,
17 Pickle* pickle); 18 Pickle* pickle);
18 WEBKIT_GLUE_EXPORT bool DeserializeNPIdentifier(const Pickle& pickle, 19 WEBKIT_GLUE_EXPORT bool DeserializeNPIdentifier(PickleIterator* pickle_iter,
19 void** pickle_iter,
20 NPIdentifier* identifier); 20 NPIdentifier* identifier);
21 21
22 } // namespace webkit_glue 22 } // namespace webkit_glue
23 23
24 #endif // WEBKIT_GLUE_NPRUNTIME_UTIL_H_ 24 #endif // WEBKIT_GLUE_NPRUNTIME_UTIL_H_
OLDNEW
« no previous file with comments | « webkit/glue/glue_serialize.cc ('k') | webkit/glue/npruntime_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698