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

Unified Diff: net/tools/quic/quic_dispatcher_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/tools/quic/quic_dispatcher_test.cc
diff --git a/net/tools/quic/quic_dispatcher_test.cc b/net/tools/quic/quic_dispatcher_test.cc
index 45cddb011fc75756792eb5a468cad264f1166d65..e2f0c0624bd678bb739395a24d564cb3efef358a 100644
--- a/net/tools/quic/quic_dispatcher_test.cc
+++ b/net/tools/quic/quic_dispatcher_test.cc
@@ -120,10 +120,10 @@ class QuicDispatcherTest : public ::testing::Test {
void ProcessPacket(IPEndPoint client_address,
QuicConnectionId connection_id,
bool has_version_flag,
- const string& data) {
+ const std::string& data) {
scoped_ptr<QuicEncryptedPacket> packet(ConstructEncryptedPacket(
connection_id, has_version_flag, false, 1, data));
- data_ = string(packet->data(), packet->length());
+ data_ = std::string(packet->data(), packet->length());
dispatcher_.ProcessPacket(server_address_, client_address, *packet);
}
@@ -139,7 +139,7 @@ class QuicDispatcherTest : public ::testing::Test {
TestDispatcher dispatcher_;
MockSession* session1_;
MockSession* session2_;
- string data_;
+ std::string data_;
};
TEST_F(QuicDispatcherTest, ProcessPackets) {
@@ -256,7 +256,7 @@ TEST_F(QuicDispatcherTest, StrayPacketToTimeWaitListManager) {
EXPECT_CALL(dispatcher_, CreateQuicSession(_, _, _)).Times(0);
EXPECT_CALL(*time_wait_list_manager,
ProcessPacket(_, _, connection_id, _, _)).Times(1);
- string data = "foo";
+ std::string data = "foo";
ProcessPacket(client_address, connection_id, false, "foo");
}

Powered by Google App Engine
This is Rietveld 408576698