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

Unified Diff: chrome/browser/sessions/compress_data_helper.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/sessions/base_session_service.cc ('k') | chrome/browser/sessions/compress_data_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/compress_data_helper.h
diff --git a/chrome/browser/sessions/compress_data_helper.h b/chrome/browser/sessions/compress_data_helper.h
index d7cbbaae4718979ffd56420cd93e3428b3a9fcd2..768fc5ea66792ea0a7d7d421f7b7634231460b70 100644
--- a/chrome/browser/sessions/compress_data_helper.h
+++ b/chrome/browser/sessions/compress_data_helper.h
@@ -11,6 +11,7 @@
#include <string>
class Pickle;
+class PickleIterator;
class CompressDataHelper {
public:
@@ -25,7 +26,7 @@ class CompressDataHelper {
// indicates the position of the data. The same iterator is used by
// Pickle::Read* functions.
static bool ReadAndDecompressStringFromPickle(const Pickle& pickle,
- void** iter,
+ PickleIterator* iter,
std::string* str);
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(CompressDataHelper);
« no previous file with comments | « chrome/browser/sessions/base_session_service.cc ('k') | chrome/browser/sessions/compress_data_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698