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_state_handler.h" | 5 #include "chromeos/network/network_state_handler.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/bind.h" | 11 #include "base/bind.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
14 #include "base/values.h" | 14 #include "base/values.h" |
15 #include "chromeos/dbus/dbus_thread_manager.h" | 15 #include "chromeos/dbus/dbus_thread_manager.h" |
16 #include "chromeos/dbus/shill_device_client.h" | 16 #include "chromeos/dbus/shill_device_client.h" |
17 #include "chromeos/dbus/shill_manager_client.h" | 17 #include "chromeos/dbus/shill_manager_client.h" |
18 #include "chromeos/dbus/shill_profile_client.h" | 18 #include "chromeos/dbus/shill_profile_client.h" |
19 #include "chromeos/dbus/shill_service_client.h" | 19 #include "chromeos/dbus/shill_service_client.h" |
20 #include "chromeos/network/network_state.h" | 20 #include "chromeos/network/network_state.h" |
21 #include "chromeos/network/network_state_handler_observer.h" | 21 #include "chromeos/network/network_state_handler_observer.h" |
22 #include "dbus/object_path.h" | 22 #include "dbus/object_path.h" |
23 #include "testing/gtest/include/gtest/gtest.h" | 23 #include "testing/gtest/include/gtest/gtest.h" |
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 // Other networks should have 2 updates (inital + request). | 386 // Other networks should have 2 updates (inital + request). |
387 EXPECT_EQ(2, test_observer_->PropertyUpdatesForService( | 387 EXPECT_EQ(2, test_observer_->PropertyUpdatesForService( |
388 kShillManagerClientStubDefaultService)); | 388 kShillManagerClientStubDefaultService)); |
389 EXPECT_EQ(2, test_observer_->PropertyUpdatesForService( | 389 EXPECT_EQ(2, test_observer_->PropertyUpdatesForService( |
390 kShillManagerClientStubWireless2)); | 390 kShillManagerClientStubWireless2)); |
391 EXPECT_EQ(2, test_observer_->PropertyUpdatesForService( | 391 EXPECT_EQ(2, test_observer_->PropertyUpdatesForService( |
392 kShillManagerClientStubCellular)); | 392 kShillManagerClientStubCellular)); |
393 } | 393 } |
394 | 394 |
395 } // namespace chromeos | 395 } // namespace chromeos |
OLD | NEW |