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_connection_handler.h" | 5 #include "chromeos/network/network_connection_handler.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/file_util.h" | 9 #include "base/files/file_util.h" |
10 #include "base/json/json_reader.h" | 10 #include "base/json/json_reader.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
13 #include "base/run_loop.h" | 13 #include "base/run_loop.h" |
14 #include "base/strings/stringprintf.h" | 14 #include "base/strings/stringprintf.h" |
15 #include "chromeos/cert_loader.h" | 15 #include "chromeos/cert_loader.h" |
16 #include "chromeos/dbus/dbus_thread_manager.h" | 16 #include "chromeos/dbus/dbus_thread_manager.h" |
17 #include "chromeos/dbus/shill_device_client.h" | 17 #include "chromeos/dbus/shill_device_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" |
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 true); | 502 true); |
503 | 503 |
504 SetupPolicy(kPolicy, global_config, false /* load as device policy */); | 504 SetupPolicy(kPolicy, global_config, false /* load as device policy */); |
505 EXPECT_EQ(shill::kStateIdle, | 505 EXPECT_EQ(shill::kStateIdle, |
506 GetServiceStringProperty("wifi0", shill::kStateProperty)); | 506 GetServiceStringProperty("wifi0", shill::kStateProperty)); |
507 EXPECT_EQ(shill::kStateOnline, | 507 EXPECT_EQ(shill::kStateOnline, |
508 GetServiceStringProperty("wifi1", shill::kStateProperty)); | 508 GetServiceStringProperty("wifi1", shill::kStateProperty)); |
509 } | 509 } |
510 | 510 |
511 } // namespace chromeos | 511 } // namespace chromeos |
OLD | NEW |