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

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

Issue 2524523002: Remove various 'using std::' statements from QUIC code and use (Closed)
Patch Set: Rebase Created 4 years 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/crypto_handshake_message.cc ('k') | net/quic/core/crypto/crypto_server_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/crypto/crypto_secret_boxer.cc
diff --git a/net/quic/core/crypto/crypto_secret_boxer.cc b/net/quic/core/crypto/crypto_secret_boxer.cc
index 37f48b5e312f3cab042a27fe26303996baa44f3d..6c5807c9feb371bedd29b1c41158eafea4f10036 100644
--- a/net/quic/core/crypto/crypto_secret_boxer.cc
+++ b/net/quic/core/crypto/crypto_secret_boxer.cc
@@ -16,7 +16,6 @@
using base::StringPiece;
using std::string;
-using std::vector;
namespace net {
@@ -45,9 +44,9 @@ size_t CryptoSecretBoxer::GetKeySize() {
return kKeySize;
}
-void CryptoSecretBoxer::SetKeys(const vector<string>& keys) {
+void CryptoSecretBoxer::SetKeys(const std::vector<string>& keys) {
DCHECK(!keys.empty());
- vector<string> copy = keys;
+ std::vector<string> copy = keys;
for (const string& key : keys) {
DCHECK_EQ(kKeySize, key.size());
}
« no previous file with comments | « net/quic/core/crypto/crypto_handshake_message.cc ('k') | net/quic/core/crypto/crypto_server_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698