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

Unified Diff: crypto/secure_hash.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: crypto/secure_hash.h
diff --git a/crypto/secure_hash.h b/crypto/secure_hash.h
index 4a49380334d5c182679d6c1355036e2609283a2b..a0dc80872884ab42033156bb3ea5b33d5ad84942 100644
--- a/crypto/secure_hash.h
+++ b/crypto/secure_hash.h
@@ -10,6 +10,7 @@
#include "crypto/crypto_export.h"
class Pickle;
+class PickleReader;
namespace crypto {
@@ -36,7 +37,7 @@ class CRYPTO_EXPORT SecureHash {
// |data_iterator| allows this to be used as part of a larger pickle.
// |pickle| holds the saved data.
// Returns success or failure.
- virtual bool Deserialize(void** data_iterator, Pickle* pickle) = 0;
+ virtual bool Deserialize(PickleReader* data_iterator) = 0;
protected:
SecureHash() {}

Powered by Google App Engine
This is Rietveld 408576698