OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 <memory> | 5 #include <memory> |
6 #include <string> | 6 #include <string> |
7 | 7 |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/json/json_reader.h" | 11 #include "base/json/json_reader.h" |
12 #include "base/memory/ptr_util.h" | 12 #include "base/memory/ptr_util.h" |
13 #include "base/run_loop.h" | 13 #include "base/run_loop.h" |
14 #include "base/values.h" | 14 #include "base/values.h" |
15 #include "chrome/browser/chromeos/arc/arc_settings_service.h" | 15 #include "chrome/browser/chromeos/arc/settings/arc_settings_service.h" |
16 #include "chrome/browser/chromeos/net/proxy_config_handler.h" | 16 #include "chrome/browser/chromeos/net/proxy_config_handler.h" |
17 #include "chrome/browser/profiles/profile.h" | 17 #include "chrome/browser/profiles/profile.h" |
18 #include "chrome/browser/ui/browser.h" | 18 #include "chrome/browser/ui/browser.h" |
19 #include "chrome/test/base/in_process_browser_test.h" | 19 #include "chrome/test/base/in_process_browser_test.h" |
20 #include "chromeos/dbus/dbus_thread_manager.h" | 20 #include "chromeos/dbus/dbus_thread_manager.h" |
21 #include "chromeos/dbus/shill_profile_client.h" | 21 #include "chromeos/dbus/shill_profile_client.h" |
22 #include "chromeos/dbus/shill_service_client.h" | 22 #include "chromeos/dbus/shill_service_client.h" |
23 #include "chromeos/network/network_handler.h" | 23 #include "chromeos/network/network_handler.h" |
24 #include "chromeos/network/network_state.h" | 24 #include "chromeos/network/network_state.h" |
25 #include "chromeos/network/network_state_handler.h" | 25 #include "chromeos/network/network_state_handler.h" |
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 DisconnectNetworkService(kDefaultServicePath); | 354 DisconnectNetworkService(kDefaultServicePath); |
355 DisconnectNetworkService(kWifiServicePath); | 355 DisconnectNetworkService(kWifiServicePath); |
356 RunUntilIdle(); | 356 RunUntilIdle(); |
357 | 357 |
358 EXPECT_EQ( | 358 EXPECT_EQ( |
359 CountProxyBroadcasts(fake_intent_helper_instance_->broadcasts(), nullptr), | 359 CountProxyBroadcasts(fake_intent_helper_instance_->broadcasts(), nullptr), |
360 0); | 360 0); |
361 } | 361 } |
362 | 362 |
363 } // namespace arc | 363 } // namespace arc |
OLD | NEW |