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 "chromeos/network/network_change_notifier_chromeos.h" | 5 #include "chromeos/network/network_change_notifier_chromeos.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <string> | 9 #include <string> |
8 | 10 |
9 #include "base/basictypes.h" | |
10 #include "base/message_loop/message_loop.h" | 11 #include "base/message_loop/message_loop.h" |
11 #include "base/strings/string_split.h" | 12 #include "base/strings/string_split.h" |
12 #include "chromeos/network/network_change_notifier_factory_chromeos.h" | 13 #include "chromeos/network/network_change_notifier_factory_chromeos.h" |
13 #include "chromeos/network/network_state.h" | 14 #include "chromeos/network/network_state.h" |
14 #include "net/base/network_change_notifier.h" | 15 #include "net/base/network_change_notifier.h" |
15 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
16 #include "third_party/cros_system_api/dbus/service_constants.h" | 17 #include "third_party/cros_system_api/dbus/service_constants.h" |
17 | 18 |
18 namespace chromeos { | 19 namespace chromeos { |
19 | 20 |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 VerifyNotifierState(test_cases[i].expected_state); | 363 VerifyNotifierState(test_cases[i].expected_state); |
363 EXPECT_EQ(test_cases[i].expected_type_changed, type_changed); | 364 EXPECT_EQ(test_cases[i].expected_type_changed, type_changed); |
364 EXPECT_EQ(test_cases[i].expected_ip_changed, ip_changed); | 365 EXPECT_EQ(test_cases[i].expected_ip_changed, ip_changed); |
365 EXPECT_EQ(test_cases[i].expected_dns_changed, dns_changed); | 366 EXPECT_EQ(test_cases[i].expected_dns_changed, dns_changed); |
366 EXPECT_EQ(test_cases[i].expected_max_bandwidth_changed, | 367 EXPECT_EQ(test_cases[i].expected_max_bandwidth_changed, |
367 max_bandwidth_changed); | 368 max_bandwidth_changed); |
368 } | 369 } |
369 } | 370 } |
370 | 371 |
371 } // namespace chromeos | 372 } // namespace chromeos |
OLD | NEW |