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

Unified Diff: net/base/network_change_notifier_win_unittest.cc

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 979105f18b2df03291c0fca38214c087a80f4b40..a762b6551678865eb69ccdf727efd72b378f4142 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