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

Unified Diff: net/quic/crypto/aes_128_gcm_12_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/aes_128_gcm_12_encrypter_test.cc
diff --git a/net/quic/crypto/aes_128_gcm_12_encrypter_test.cc b/net/quic/crypto/aes_128_gcm_12_encrypter_test.cc
index 8ccaaedf30b3e882a1f1b51bd415191c9449ecff..de4cc3e92561e4bd5c485dc49a12121494fb28a1 100644
--- a/net/quic/crypto/aes_128_gcm_12_encrypter_test.cc
+++ b/net/quic/crypto/aes_128_gcm_12_encrypter_test.cc
@@ -4,6 +4,8 @@
#include "net/quic/crypto/aes_128_gcm_12_encrypter.h"
+#include <string>
+
#include "net/quic/test_tools/quic_test_utils.h"
using base::StringPiece;
@@ -230,12 +232,12 @@ TEST(Aes128Gcm12EncrypterTest, Encrypt) {
const TestGroupInfo& test_info = test_group_info[i];
for (size_t j = 0; test_vectors[j].key != nullptr; j++) {
// Decode the test vector.
- string key;
- string iv;
- string pt;
- string aad;
- string ct;
- string tag;
+ std::string key;
+ std::string iv;
+ std::string pt;
+ std::string aad;
+ std::string ct;
+ std::string tag;
ASSERT_TRUE(DecodeHexString(test_vectors[j].key, &key));
ASSERT_TRUE(DecodeHexString(test_vectors[j].iv, &iv));
ASSERT_TRUE(DecodeHexString(test_vectors[j].pt, &pt));

Powered by Google App Engine
This is Rietveld 408576698