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

Side by Side 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: fix missing part device_cloud_policy_manager_chromeos_unittest.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
« no previous file with comments | « net/tools/quic/quic_client.h ('k') | net/tools/quic/quic_server_session.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_dispatcher.h" 5 #include "net/tools/quic/quic_dispatcher.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/strings/string_piece.h" 9 #include "base/strings/string_piece.h"
10 #include "net/quic/crypto/crypto_handshake.h" 10 #include "net/quic/crypto/crypto_handshake.h"
(...skipping 11 matching lines...) Expand all
22 #include "testing/gmock/include/gmock/gmock.h" 22 #include "testing/gmock/include/gmock/gmock.h"
23 #include "testing/gtest/include/gtest/gtest.h" 23 #include "testing/gtest/include/gtest/gtest.h"
24 24
25 using base::StringPiece; 25 using base::StringPiece;
26 using net::EpollServer; 26 using net::EpollServer;
27 using net::test::ConstructEncryptedPacket; 27 using net::test::ConstructEncryptedPacket;
28 using net::test::MockSession; 28 using net::test::MockSession;
29 using net::test::ValueRestore; 29 using net::test::ValueRestore;
30 using net::tools::test::MockConnection; 30 using net::tools::test::MockConnection;
31 using std::make_pair; 31 using std::make_pair;
32 using std::string;
32 using testing::DoAll; 33 using testing::DoAll;
33 using testing::InSequence; 34 using testing::InSequence;
34 using testing::Invoke; 35 using testing::Invoke;
35 using testing::WithoutArgs; 36 using testing::WithoutArgs;
36 using testing::_; 37 using testing::_;
37 38
38 namespace net { 39 namespace net {
39 namespace tools { 40 namespace tools {
40 namespace test { 41 namespace test {
41 namespace { 42 namespace {
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 // And we'll resume where we left off when we get another call. 452 // And we'll resume where we left off when we get another call.
452 EXPECT_CALL(*connection2(), OnCanWrite()); 453 EXPECT_CALL(*connection2(), OnCanWrite());
453 dispatcher_.OnCanWrite(); 454 dispatcher_.OnCanWrite();
454 EXPECT_FALSE(dispatcher_.HasPendingWrites()); 455 EXPECT_FALSE(dispatcher_.HasPendingWrites());
455 } 456 }
456 457
457 } // namespace 458 } // namespace
458 } // namespace test 459 } // namespace test
459 } // namespace tools 460 } // namespace tools
460 } // namespace net 461 } // namespace net
OLDNEW
« no previous file with comments | « net/tools/quic/quic_client.h ('k') | net/tools/quic/quic_server_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698