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

Unified Diff: net/quic/crypto/chacha20_poly1305_encrypter_test.cc

Issue 763833003: Remove using namespace in net/quic/quic_stream_sequencer.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
Index: net/quic/crypto/chacha20_poly1305_encrypter_test.cc
diff --git a/net/quic/crypto/chacha20_poly1305_encrypter_test.cc b/net/quic/crypto/chacha20_poly1305_encrypter_test.cc
index 4f33337d6f3875c428a7d247fe33e6fb4384a9c5..a277ac01d453cc2fd572114416fe44ad499d7e43 100644
--- a/net/quic/crypto/chacha20_poly1305_encrypter_test.cc
+++ b/net/quic/crypto/chacha20_poly1305_encrypter_test.cc
@@ -4,6 +4,8 @@
#include "net/quic/crypto/chacha20_poly1305_encrypter.h"
+#include <string>
+
#include "net/quic/test_tools/quic_test_utils.h"
using base::StringPiece;
@@ -64,11 +66,11 @@ TEST(ChaCha20Poly1305EncrypterTest, Encrypt) {
for (size_t i = 0; test_vectors[i].key != nullptr; i++) {
// Decode the test vector.
- string key;
- string pt;
- string iv;
- string aad;
- string ct;
+ std::string key;
+ std::string pt;
+ std::string iv;
+ std::string aad;
+ std::string ct;
ASSERT_TRUE(DecodeHexString(test_vectors[i].key, &key));
ASSERT_TRUE(DecodeHexString(test_vectors[i].pt, &pt));
ASSERT_TRUE(DecodeHexString(test_vectors[i].iv, &iv));

Powered by Google App Engine
This is Rietveld 408576698