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

Unified Diff: crypto/secure_hash.h

Issue 1149113006: Move Pickle to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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/zygote/zygote_linux.h ('k') | extensions/common/extension_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: crypto/secure_hash.h
diff --git a/crypto/secure_hash.h b/crypto/secure_hash.h
index 173fd0a8a3ed877d0a68adcdb47a703b394dbee6..23349b0be008f32a8a619495182fd054d31b609b 100644
--- a/crypto/secure_hash.h
+++ b/crypto/secure_hash.h
@@ -8,8 +8,10 @@
#include "base/basictypes.h"
#include "crypto/crypto_export.h"
+namespace base {
class Pickle;
class PickleIterator;
+}
namespace crypto {
@@ -30,13 +32,13 @@ class CRYPTO_EXPORT SecureHash {
// Serialize the context, so it can be restored at a later time.
// |pickle| will contain the serialized data.
// Returns whether or not |pickle| was filled.
- virtual bool Serialize(Pickle* pickle) = 0;
+ virtual bool Serialize(base::Pickle* pickle) = 0;
// Restore the context that was saved earlier.
// |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(PickleIterator* data_iterator) = 0;
+ virtual bool Deserialize(base::PickleIterator* data_iterator) = 0;
protected:
SecureHash() {}
« no previous file with comments | « content/zygote/zygote_linux.h ('k') | extensions/common/extension_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698