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

Unified Diff: net/quic/crypto/chacha20_poly1305_decrypter_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_decrypter_test.cc
diff --git a/net/quic/crypto/chacha20_poly1305_decrypter_test.cc b/net/quic/crypto/chacha20_poly1305_decrypter_test.cc
index e83acc09d66511cbeb61f93685e523dacc6dc451..e1c21b9675bda2c257294ee742a0dbb8f41a331f 100644
--- a/net/quic/crypto/chacha20_poly1305_decrypter_test.cc
+++ b/net/quic/crypto/chacha20_poly1305_decrypter_test.cc
@@ -4,6 +4,8 @@
#include "net/quic/crypto/chacha20_poly1305_decrypter.h"
+#include <string>
+
#include "net/quic/test_tools/quic_test_utils.h"
using base::StringPiece;
@@ -96,11 +98,11 @@ TEST(ChaCha20Poly1305DecrypterTest, Decrypt) {
bool has_pt = test_vectors[i].pt;
// Decode the test vector.
- string key;
- string iv;
- string aad;
- string ct;
- string pt;
+ std::string key;
+ std::string iv;
+ std::string aad;
+ std::string ct;
+ std::string pt;
ASSERT_TRUE(DecodeHexString(test_vectors[i].key, &key));
ASSERT_TRUE(DecodeHexString(test_vectors[i].iv, &iv));
ASSERT_TRUE(DecodeHexString(test_vectors[i].aad, &aad));

Powered by Google App Engine
This is Rietveld 408576698