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

Unified Diff: net/quic/core/crypto/p256_key_exchange_test.cc

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/p256_key_exchange.cc ('k') | net/quic/core/crypto/proof_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/crypto/p256_key_exchange_test.cc
diff --git a/net/quic/core/crypto/p256_key_exchange_test.cc b/net/quic/core/crypto/p256_key_exchange_test.cc
index 564382cbd503f99619b0adcc7301b5b818c4659b..7ff40220b97a4360d840869adda1e886dec127d3 100644
--- a/net/quic/core/crypto/p256_key_exchange_test.cc
+++ b/net/quic/core/crypto/p256_key_exchange_test.cc
@@ -30,8 +30,8 @@ TEST(P256KeyExchange, SharedKey) {
ASSERT_TRUE(alice.get() != nullptr);
ASSERT_TRUE(bob.get() != nullptr);
- const base::StringPiece alice_public(alice->public_value());
- const base::StringPiece bob_public(bob->public_value());
+ const QuicStringPiece alice_public(alice->public_value());
+ const QuicStringPiece bob_public(bob->public_value());
std::string alice_shared, bob_shared;
ASSERT_TRUE(alice->CalculateSharedKey(bob_public, &alice_shared));
« no previous file with comments | « net/quic/core/crypto/p256_key_exchange.cc ('k') | net/quic/core/crypto/proof_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698