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

Unified Diff: net/tools/quic/quic_simple_client_bin.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/tools/quic/quic_simple_client.cc ('k') | net/tools/quic/quic_time_wait_list_manager_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_simple_client_bin.cc
diff --git a/net/tools/quic/quic_simple_client_bin.cc b/net/tools/quic/quic_simple_client_bin.cc
index cbc3c5c0a7703933c4a13c65c30002f802dad154..fc11a7ff2ee1212dd6786dd6fcfc277a57683d47 100644
--- a/net/tools/quic/quic_simple_client_bin.cc
+++ b/net/tools/quic/quic_simple_client_bin.cc
@@ -76,10 +76,8 @@ using net::ProofVerifierChromium;
using net::TransportSecurityState;
using std::cout;
using std::cerr;
-using std::map;
-using std::string;
-using std::vector;
using std::endl;
+using std::string;
// The IP or hostname the quic client will connect to.
string FLAGS_host = "";
@@ -114,7 +112,7 @@ class FakeProofVerifier : public ProofVerifier {
const string& server_config,
net::QuicVersion quic_version,
StringPiece chlo_hash,
- const vector<string>& certs,
+ const std::vector<string>& certs,
const string& cert_sct,
const string& signature,
const net::ProofVerifyContext* context,
@@ -316,7 +314,7 @@ int main(int argc, char* argv[]) {
if (sp.empty()) {
continue;
}
- vector<string> kv =
+ std::vector<string> kv =
base::SplitString(sp, ":", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
CHECK_EQ(2u, kv.size());
string key;
« no previous file with comments | « net/tools/quic/quic_simple_client.cc ('k') | net/tools/quic/quic_time_wait_list_manager_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698