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

Unified Diff: net/quic/core/crypto/ephemeral_key_source.h

Issue 2740453006: Add QuicStringPiece which is actually StringPiece. (Closed)
Patch Set: fix compile error and rebase Created 3 years, 9 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 | « net/quic/core/crypto/curve25519_key_exchange_test.cc ('k') | net/quic/core/crypto/key_exchange.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/crypto/ephemeral_key_source.h
diff --git a/net/quic/core/crypto/ephemeral_key_source.h b/net/quic/core/crypto/ephemeral_key_source.h
index f05fa28e9c662bd94268470d0493acf1dfbda3bc..ecc061d1f4aa13ce4821be403868de4181215cef 100644
--- a/net/quic/core/crypto/ephemeral_key_source.h
+++ b/net/quic/core/crypto/ephemeral_key_source.h
@@ -7,9 +7,9 @@
#include <string>
-#include "base/strings/string_piece.h"
#include "net/quic/core/quic_time.h"
#include "net/quic/platform/api/quic_export.h"
+#include "net/quic/platform/api/quic_string_piece.h"
namespace net {
@@ -33,7 +33,7 @@ class QUIC_EXPORT_PRIVATE EphemeralKeySource {
const KeyExchange* key_exchange,
QuicRandom* rand,
QuicTime now,
- base::StringPiece peer_public_value,
+ QuicStringPiece peer_public_value,
std::string* public_value) = 0;
};
« no previous file with comments | « net/quic/core/crypto/curve25519_key_exchange_test.cc ('k') | net/quic/core/crypto/key_exchange.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698