| 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 #include "net/quic/chromium/mock_network_change_notifier.h" | 5 #include "net/base/mock_network_change_notifier.h" |
| 6 | 6 |
| 7 #include "base/run_loop.h" | 7 #include "base/run_loop.h" |
| 8 | 8 |
| 9 namespace net { | 9 namespace net { |
| 10 namespace test { | 10 namespace test { |
| 11 | 11 |
| 12 MockNetworkChangeNotifier::MockNetworkChangeNotifier() | 12 MockNetworkChangeNotifier::MockNetworkChangeNotifier() |
| 13 : force_network_handles_supported_(false), | 13 : force_network_handles_supported_(false), |
| 14 connection_type_(CONNECTION_UNKNOWN) {} | 14 connection_type_(CONNECTION_UNKNOWN) {} |
| 15 MockNetworkChangeNotifier::~MockNetworkChangeNotifier() {} | 15 MockNetworkChangeNotifier::~MockNetworkChangeNotifier() {} |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 | 79 |
| 80 ScopedMockNetworkChangeNotifier::~ScopedMockNetworkChangeNotifier() {} | 80 ScopedMockNetworkChangeNotifier::~ScopedMockNetworkChangeNotifier() {} |
| 81 | 81 |
| 82 MockNetworkChangeNotifier* | 82 MockNetworkChangeNotifier* |
| 83 ScopedMockNetworkChangeNotifier::mock_network_change_notifier() { | 83 ScopedMockNetworkChangeNotifier::mock_network_change_notifier() { |
| 84 return mock_network_change_notifier_.get(); | 84 return mock_network_change_notifier_.get(); |
| 85 } | 85 } |
| 86 | 86 |
| 87 } // namespace test | 87 } // namespace test |
| 88 } // namespace net | 88 } // namespace net |
| OLD | NEW |