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

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: jar feedback Created 8 years, 10 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
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..0dc078c30faf8d7d24cff95f0789a552d794a065 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 PickleReader;
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,
+ PickleReader* iter,
std::string* str);
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(CompressDataHelper);

Powered by Google App Engine
This is Rietveld 408576698