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

Side by Side Diff: net/tools/quic/quic_spdy_client_stream_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: resolve ramant's comment, using std:: for .cc Created 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/tools/quic/quic_spdy_client_stream.h" 5 #include "net/tools/quic/quic_spdy_client_stream.h"
6 6
7 #include <string>
8
7 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
8 #include "net/quic/quic_utils.h" 10 #include "net/quic/quic_utils.h"
9 #include "net/quic/test_tools/quic_test_utils.h" 11 #include "net/quic/test_tools/quic_test_utils.h"
10 #include "net/tools/quic/quic_client_session.h" 12 #include "net/tools/quic/quic_client_session.h"
11 #include "net/tools/quic/quic_spdy_client_stream.h" 13 #include "net/tools/quic/quic_spdy_client_stream.h"
12 #include "net/tools/quic/spdy_utils.h" 14 #include "net/tools/quic/spdy_utils.h"
13 #include "net/tools/quic/test_tools/quic_test_utils.h" 15 #include "net/tools/quic/test_tools/quic_test_utils.h"
14 #include "testing/gmock/include/gmock/gmock.h" 16 #include "testing/gmock/include/gmock/gmock.h"
15 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
16 18
17 using net::test::DefaultQuicConfig; 19 using net::test::DefaultQuicConfig;
18 using net::test::SupportedVersions; 20 using net::test::SupportedVersions;
21 using std::string;
19 using testing::StrictMock; 22 using testing::StrictMock;
20 using testing::TestWithParam; 23 using testing::TestWithParam;
21 24
22 namespace net { 25 namespace net {
23 namespace tools { 26 namespace tools {
24 namespace test { 27 namespace test {
25 namespace { 28 namespace {
26 29
27 class QuicSpdyClientStreamTest : public TestWithParam<QuicVersion> { 30 class QuicSpdyClientStreamTest : public TestWithParam<QuicVersion> {
28 public: 31 public:
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 105
103 EXPECT_FALSE(stream_->write_side_closed()); 106 EXPECT_FALSE(stream_->write_side_closed());
104 stream_->OnStreamFrame(frame); 107 stream_->OnStreamFrame(frame);
105 EXPECT_TRUE(stream_->write_side_closed()); 108 EXPECT_TRUE(stream_->write_side_closed());
106 } 109 }
107 110
108 } // namespace 111 } // namespace
109 } // namespace test 112 } // namespace test
110 } // namespace tools 113 } // namespace tools
111 } // namespace net 114 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698