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

Unified Diff: content/common/indexed_db/indexed_db_param_traits.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/indexed_db/indexed_db_param_traits.h ('k') | content/common/mac/attributed_string_coder.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/indexed_db/indexed_db_param_traits.cc
diff --git a/content/common/indexed_db/indexed_db_param_traits.cc b/content/common/indexed_db/indexed_db_param_traits.cc
index c580cd13616bac7736fe0ac9bbb6b6544271db22..57fca9a2d26268e3bde9a6c393ce40312031aa30 100644
--- a/content/common/indexed_db/indexed_db_param_traits.cc
+++ b/content/common/indexed_db/indexed_db_param_traits.cc
@@ -19,7 +19,7 @@ void ParamTraits<content::SerializedScriptValue>::Write(Message* m,
}
bool ParamTraits<content::SerializedScriptValue>::Read(const Message* m,
- void** iter,
+ PickleIterator* iter,
param_type* r) {
bool is_null;
bool is_invalid;
@@ -70,7 +70,7 @@ void ParamTraits<IndexedDBKey>::Write(Message* m, const param_type& p) {
}
bool ParamTraits<IndexedDBKey>::Read(const Message* m,
- void** iter,
+ PickleIterator* iter,
param_type* r) {
int type;
if (!ReadParam(m, iter, &type))
@@ -149,7 +149,7 @@ void ParamTraits<IndexedDBKeyRange>::Write(Message* m, const param_type& p) {
}
bool ParamTraits<IndexedDBKeyRange>::Read(const Message* m,
- void** iter,
+ PickleIterator* iter,
param_type* r) {
IndexedDBKey lower;
« no previous file with comments | « content/common/indexed_db/indexed_db_param_traits.h ('k') | content/common/mac/attributed_string_coder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698