| 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_QUIC_CHROMIUM_MOCK_NETWORK_CHANGE_NOTIFIER_H_ | 5 #ifndef NET_BASE_MOCK_NETWORK_CHANGE_NOTIFIER_H_ |
| 6 #define NET_QUIC_CHROMIUM_MOCK_NETWORK_CHANGE_NOTIFIER_H_ | 6 #define NET_BASE_MOCK_NETWORK_CHANGE_NOTIFIER_H_ |
| 7 | 7 |
| 8 #include "net/base/network_change_notifier.h" | 8 #include "net/base/network_change_notifier.h" |
| 9 | 9 |
| 10 namespace net { | 10 namespace net { |
| 11 namespace test { | 11 namespace test { |
| 12 | 12 |
| 13 class MockNetworkChangeNotifier : public NetworkChangeNotifier { | 13 class MockNetworkChangeNotifier : public NetworkChangeNotifier { |
| 14 public: | 14 public: |
| 15 MockNetworkChangeNotifier(); | 15 MockNetworkChangeNotifier(); |
| 16 ~MockNetworkChangeNotifier() override; | 16 ~MockNetworkChangeNotifier() override; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 | 64 |
| 65 private: | 65 private: |
| 66 std::unique_ptr<NetworkChangeNotifier::DisableForTest> | 66 std::unique_ptr<NetworkChangeNotifier::DisableForTest> |
| 67 disable_network_change_notifier_for_tests_; | 67 disable_network_change_notifier_for_tests_; |
| 68 std::unique_ptr<MockNetworkChangeNotifier> mock_network_change_notifier_; | 68 std::unique_ptr<MockNetworkChangeNotifier> mock_network_change_notifier_; |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 } // namespace test | 71 } // namespace test |
| 72 } // namespace net | 72 } // namespace net |
| 73 | 73 |
| 74 #endif // NET_QUIC_CHROMIUM_MOCK_NETWORK_CHANGE_NOTIFIER_H_ | 74 #endif // NET_BASE_MOCK_NETWORK_CHANGE_NOTIFIER_H_ |
| OLD | NEW |