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

Side by Side Diff: net/quic/chromium/network_connection_unittest.cc

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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/network_connection.h" 5 #include "net/quic/chromium/network_connection.h"
6 6
7 #include "base/run_loop.h" 7 #include "base/run_loop.h"
8 #include "net/quic/chromium/mock_network_change_notifier.h" 8 #include "net/base/mock_network_change_notifier.h"
9 #include "testing/gtest/include/gtest/gtest.h" 9 #include "testing/gtest/include/gtest/gtest.h"
10 10
11 namespace net { 11 namespace net {
12 namespace test { 12 namespace test {
13 13
14 constexpr auto CONNECTION_3G = NetworkChangeNotifier::CONNECTION_3G; 14 constexpr auto CONNECTION_3G = NetworkChangeNotifier::CONNECTION_3G;
15 constexpr auto CONNECTION_2G = NetworkChangeNotifier::CONNECTION_2G; 15 constexpr auto CONNECTION_2G = NetworkChangeNotifier::CONNECTION_2G;
16 constexpr auto CONNECTION_ETHERNET = NetworkChangeNotifier::CONNECTION_ETHERNET; 16 constexpr auto CONNECTION_ETHERNET = NetworkChangeNotifier::CONNECTION_ETHERNET;
17 constexpr auto CONNECTION_WIFI = NetworkChangeNotifier::CONNECTION_WIFI; 17 constexpr auto CONNECTION_WIFI = NetworkChangeNotifier::CONNECTION_WIFI;
18 18
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 EXPECT_EQ(NetworkChangeNotifier::ConnectionTypeToString(CONNECTION_2G), 93 EXPECT_EQ(NetworkChangeNotifier::ConnectionTypeToString(CONNECTION_2G),
94 description_2g); 94 description_2g);
95 EXPECT_EQ(NetworkChangeNotifier::ConnectionTypeToString(CONNECTION_3G), 95 EXPECT_EQ(NetworkChangeNotifier::ConnectionTypeToString(CONNECTION_3G),
96 description_3g); 96 description_3g);
97 EXPECT_EQ(NetworkChangeNotifier::ConnectionTypeToString(CONNECTION_ETHERNET), 97 EXPECT_EQ(NetworkChangeNotifier::ConnectionTypeToString(CONNECTION_ETHERNET),
98 description_ethernet); 98 description_ethernet);
99 } 99 }
100 100
101 } // namespace test 101 } // namespace test
102 } // namespace net 102 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/chromium/mock_network_change_notifier.cc ('k') | net/quic/chromium/quic_network_transaction_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698