summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorbrettw <brettw@chromium.org>2015-06-02 00:02:47 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-02 07:03:21 +0000
commit05cfd8ddb3849b7e11bb53e199064291a52aeea9 (patch)
treec197bfdf337bee3b804219251c43e4323ae9a6ae /crypto
parent7f9715680150b2f0c3ae46a227075859c73042b2 (diff)
downloadchromium_src-05cfd8ddb3849b7e11bb53e199064291a52aeea9.zip
chromium_src-05cfd8ddb3849b7e11bb53e199064291a52aeea9.tar.gz
chromium_src-05cfd8ddb3849b7e11bb53e199064291a52aeea9.tar.bz2
Move Pickle to base namespace.
Updates forward-declares and headers, but keeps a using statement in to avoid updating all users atomically. TBR=jschuh for IPC stuff Review URL: https://codereview.chromium.org/1149113006 Cr-Commit-Position: refs/heads/master@{#332352}
Diffstat (limited to 'crypto')
-rw-r--r--crypto/secure_hash.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/crypto/secure_hash.h b/crypto/secure_hash.h
index 173fd0a..23349b0 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() {}