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

Unified Diff: net/base/network_change_notifier_win_unittest.cc

Issue 647883002: git cl format the final third of the net/base directory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: net/base/network_change_notifier_win_unittest.cc
diff --git a/net/base/network_change_notifier_win_unittest.cc b/net/base/network_change_notifier_win_unittest.cc
index 25873c37f2003300c666690877517b8e70bae205..69a740c84b39576f0326a9803a0b08daf4d582e8 100644
--- a/net/base/network_change_notifier_win_unittest.cc
+++ b/net/base/network_change_notifier_win_unittest.cc
@@ -31,8 +31,8 @@ class TestNetworkChangeNotifierWin : public NetworkChangeNotifierWin {
}
// From NetworkChangeNotifierWin.
- virtual NetworkChangeNotifier::ConnectionType
- RecomputeCurrentConnectionType() const override {
+ virtual NetworkChangeNotifier::ConnectionType RecomputeCurrentConnectionType()
+ const override {
return NetworkChangeNotifier::CONNECTION_UNKNOWN;
}
@@ -46,9 +46,7 @@ class TestNetworkChangeNotifierWin : public NetworkChangeNotifierWin {
class TestIPAddressObserver
: public net::NetworkChangeNotifier::IPAddressObserver {
public:
- TestIPAddressObserver() {
- NetworkChangeNotifier::AddIPAddressObserver(this);
- }
+ TestIPAddressObserver() { NetworkChangeNotifier::AddIPAddressObserver(this); }
~TestIPAddressObserver() {
NetworkChangeNotifier::RemoveIPAddressObserver(this);
@@ -165,11 +163,13 @@ class NetworkChangeNotifierWinTest : public testing::Test {
EXPECT_FALSE(network_change_notifier_.is_watching());
EXPECT_LT(0, network_change_notifier_.sequential_failures());
- EXPECT_CALL(test_ip_address_observer_, OnIPAddressChanged()).Times(1)
+ EXPECT_CALL(test_ip_address_observer_, OnIPAddressChanged())
+ .Times(1)
.WillOnce(
Invoke(base::MessageLoop::current(), &base::MessageLoop::Quit));
EXPECT_CALL(network_change_notifier_, WatchForAddressChangeInternal())
- .Times(1).WillOnce(Return(true));
+ .Times(1)
+ .WillOnce(Return(true));
base::MessageLoop::current()->Run();

Powered by Google App Engine
This is Rietveld 408576698