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

Side by Side Diff: net/base/mock_network_change_notifier.h

Issue 2811183003: Change Cronet's "disable_ipv6" to "disable_ipv6_on_wifi" (Closed)
Patch Set: more comments Created 3 years, 8 months 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/BUILD.gn ('k') | net/base/mock_network_change_notifier.cc » ('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 #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
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_
OLDNEW
« no previous file with comments | « net/BUILD.gn ('k') | net/base/mock_network_change_notifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698