| OLD | NEW |
| 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 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_MOCK_QUIC_SERVER_SESSION_VISITOR_H_ | 5 #ifndef NET_TOOLS_QUIC_TEST_TOOLS_MOCK_QUIC_SERVER_SESSION_VISITOR_H_ |
| 6 #define NET_TOOLS_QUIC_TEST_TOOLS_MOCK_QUIC_SERVER_SESSION_VISITOR_H_ | 6 #define NET_TOOLS_QUIC_TEST_TOOLS_MOCK_QUIC_SERVER_SESSION_VISITOR_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "net/quic/quic_server_session_base.h" | 9 #include "net/quic/core/quic_server_session_base.h" |
| 10 #include "testing/gmock/include/gmock/gmock.h" | 10 #include "testing/gmock/include/gmock/gmock.h" |
| 11 | 11 |
| 12 namespace net { | 12 namespace net { |
| 13 namespace test { | 13 namespace test { |
| 14 | 14 |
| 15 class MockQuicServerSessionVisitor : public QuicServerSessionBase::Visitor { | 15 class MockQuicServerSessionVisitor : public QuicServerSessionBase::Visitor { |
| 16 public: | 16 public: |
| 17 MockQuicServerSessionVisitor(); | 17 MockQuicServerSessionVisitor(); |
| 18 virtual ~MockQuicServerSessionVisitor() override; | 18 virtual ~MockQuicServerSessionVisitor() override; |
| 19 MOCK_METHOD3(OnConnectionClosed, | 19 MOCK_METHOD3(OnConnectionClosed, |
| (...skipping 21 matching lines...) Expand all Loading... |
| 41 std::string* error_details)); | 41 std::string* error_details)); |
| 42 | 42 |
| 43 private: | 43 private: |
| 44 DISALLOW_COPY_AND_ASSIGN(MockQuicServerSessionHelper); | 44 DISALLOW_COPY_AND_ASSIGN(MockQuicServerSessionHelper); |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 } // namespace test | 47 } // namespace test |
| 48 } // namespace net | 48 } // namespace net |
| 49 | 49 |
| 50 #endif // NET_TOOLS_QUIC_TEST_TOOLS_MOCK_QUIC_SERVER_SESSION_VISITOR_H_ | 50 #endif // NET_TOOLS_QUIC_TEST_TOOLS_MOCK_QUIC_SERVER_SESSION_VISITOR_H_ |
| OLD | NEW |