| Index: net/quic/crypto/curve25519_key_exchange.h
|
| diff --git a/net/quic/crypto/curve25519_key_exchange.h b/net/quic/crypto/curve25519_key_exchange.h
|
| index 1637bbb481de1145c9d4294b6044cb63aac2e92d..a95cf7f6ce6d063193e3d2912aaaf6fff06c3708 100644
|
| --- a/net/quic/crypto/curve25519_key_exchange.h
|
| +++ b/net/quic/crypto/curve25519_key_exchange.h
|
| @@ -26,7 +26,7 @@ class NET_EXPORT_PRIVATE Curve25519KeyExchange : public KeyExchange {
|
|
|
| // New creates a new object from a private key. If the private key is
|
| // invalid, nullptr is returned.
|
| - static Curve25519KeyExchange* New(const base::StringPiece& private_key);
|
| + static Curve25519KeyExchange* New(base::StringPiece private_key);
|
|
|
| // NewPrivateKey returns a private key, generated from |rand|, suitable for
|
| // passing to |New|.
|
| @@ -34,7 +34,7 @@ class NET_EXPORT_PRIVATE Curve25519KeyExchange : public KeyExchange {
|
|
|
| // KeyExchange interface.
|
| KeyExchange* NewKeyPair(QuicRandom* rand) const override;
|
| - bool CalculateSharedKey(const base::StringPiece& peer_public_value,
|
| + bool CalculateSharedKey(base::StringPiece peer_public_value,
|
| std::string* shared_key) const override;
|
| base::StringPiece public_value() const override;
|
| QuicTag tag() const override;
|
|
|