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/shill_property_handler.h" | 5 #include "chromeos/network/shill_property_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_ipconfig_client.h" | 17 #include "chromeos/dbus/shill_ipconfig_client.h" |
18 #include "chromeos/dbus/shill_manager_client.h" | 18 #include "chromeos/dbus/shill_manager_client.h" |
19 #include "chromeos/dbus/shill_profile_client.h" | 19 #include "chromeos/dbus/shill_profile_client.h" |
20 #include "chromeos/dbus/shill_service_client.h" | 20 #include "chromeos/dbus/shill_service_client.h" |
21 #include "dbus/object_path.h" | 21 #include "dbus/object_path.h" |
22 #include "testing/gtest/include/gtest/gtest.h" | 22 #include "testing/gtest/include/gtest/gtest.h" |
23 #include "third_party/cros_system_api/dbus/service_constants.h" | 23 #include "third_party/cros_system_api/dbus/service_constants.h" |
(...skipping 501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
525 message_loop_.RunUntilIdle(); | 525 message_loop_.RunUntilIdle(); |
526 // Property change should trigger an update for the Network only; no | 526 // Property change should trigger an update for the Network only; no |
527 // property updates pushed by Shill affect Favorites. | 527 // property updates pushed by Shill affect Favorites. |
528 EXPECT_EQ(2, listener_->property_updates( | 528 EXPECT_EQ(2, listener_->property_updates( |
529 flimflam::kServicesProperty)[kTestServicePath2]); | 529 flimflam::kServicesProperty)[kTestServicePath2]); |
530 EXPECT_EQ(0, listener_->property_updates( | 530 EXPECT_EQ(0, listener_->property_updates( |
531 shill::kServiceCompleteListProperty)[kTestServicePath2]); | 531 shill::kServiceCompleteListProperty)[kTestServicePath2]); |
532 } | 532 } |
533 | 533 |
534 } // namespace chromeos | 534 } // namespace chromeos |
OLD | NEW |