Index: net/quic/core/crypto/aead_base_decrypter.h |
diff --git a/net/quic/core/crypto/aead_base_decrypter.h b/net/quic/core/crypto/aead_base_decrypter.h |
index 23fbdd6fee4d6f00e20483f4d0c4c8be3c214306..02edd67a1adf8df21db164f2fc090f3f6b993641 100644 |
--- a/net/quic/core/crypto/aead_base_decrypter.h |
+++ b/net/quic/core/crypto/aead_base_decrypter.h |
@@ -12,6 +12,7 @@ |
#include "net/quic/core/crypto/quic_decrypter.h" |
#include "net/quic/core/crypto/scoped_evp_aead_ctx.h" |
#include "net/quic/platform/api/quic_export.h" |
+#include "net/quic/platform/api/quic_string_piece.h" |
namespace net { |
@@ -25,19 +26,19 @@ class QUIC_EXPORT_PRIVATE AeadBaseDecrypter : public QuicDecrypter { |
~AeadBaseDecrypter() override; |
// QuicDecrypter implementation |
- bool SetKey(base::StringPiece key) override; |
- bool SetNoncePrefix(base::StringPiece nonce_prefix) override; |
- bool SetPreliminaryKey(base::StringPiece key) override; |
+ bool SetKey(QuicStringPiece key) override; |
+ bool SetNoncePrefix(QuicStringPiece nonce_prefix) override; |
+ bool SetPreliminaryKey(QuicStringPiece key) override; |
bool SetDiversificationNonce(const DiversificationNonce& nonce) override; |
bool DecryptPacket(QuicVersion version, |
QuicPacketNumber packet_number, |
- base::StringPiece associated_data, |
- base::StringPiece ciphertext, |
+ QuicStringPiece associated_data, |
+ QuicStringPiece ciphertext, |
char* output, |
size_t* output_length, |
size_t max_output_length) override; |
- base::StringPiece GetKey() const override; |
- base::StringPiece GetNoncePrefix() const override; |
+ QuicStringPiece GetKey() const override; |
+ QuicStringPiece GetNoncePrefix() const override; |
protected: |
// Make these constants available to the subclasses so that the subclasses |