summaryrefslogtreecommitdiff
path: root/chromium/chromeos
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chromeos')
-rw-r--r--chromium/chromeos/BUILD.gn14
-rw-r--r--chromium/chromeos/components/tether/BUILD.gn81
2 files changed, 79 insertions, 16 deletions
diff --git a/chromium/chromeos/BUILD.gn b/chromium/chromeos/BUILD.gn
index f82029d431a..a3b4353cce4 100644
--- a/chromium/chromeos/BUILD.gn
+++ b/chromium/chromeos/BUILD.gn
@@ -23,6 +23,7 @@ component("chromeos") {
":authpolicy_proto",
":biod_proto",
":cryptohome_proto",
+ ":login_manager_proto",
":media_perception_proto",
":power_manager_proto",
"//base",
@@ -320,6 +321,8 @@ component("chromeos") {
"network/device_state.h",
"network/dhcp_proxy_script_fetcher_chromeos.cc",
"network/dhcp_proxy_script_fetcher_chromeos.h",
+ "network/dhcp_proxy_script_fetcher_factory_chromeos.cc",
+ "network/dhcp_proxy_script_fetcher_factory_chromeos.h",
"network/firewall_hole.cc",
"network/firewall_hole.h",
"network/geolocation_handler.cc",
@@ -533,8 +536,6 @@ static_library("test_support") {
"cryptohome/mock_homedir_methods.h",
"dbus/biod/test_utils.cc",
"dbus/biod/test_utils.h",
- "dbus/mock_cryptohome_client.cc",
- "dbus/mock_cryptohome_client.h",
"dbus/mock_lorgnette_manager_client.cc",
"dbus/mock_lorgnette_manager_client.h",
"dbus/mock_permission_broker_client.cc",
@@ -692,6 +693,7 @@ test("chromeos_unittests") {
"network/onc/onc_utils_unittest.cc",
"network/onc/onc_validator_unittest.cc",
"network/prohibited_technologies_handler_unittest.cc",
+ "network/proxy/proxy_config_service_impl_unittest.cc",
"network/shill_property_handler_unittest.cc",
"printing/ppd_cache_unittest.cc",
"printing/ppd_provider_unittest.cc",
@@ -749,6 +751,14 @@ proto_library("cryptohome_proto") {
proto_out_dir = "chromeos/dbus/cryptohome"
}
+proto_library("login_manager_proto") {
+ sources = [
+ "//third_party/cros_system_api/dbus/login_manager/arc.proto",
+ ]
+
+ proto_out_dir = "chromeos/dbus/login_manager"
+}
+
proto_library("attestation_proto") {
sources = [
"dbus/proto/attestation.proto",
diff --git a/chromium/chromeos/components/tether/BUILD.gn b/chromium/chromeos/components/tether/BUILD.gn
index 7adcb37424e..065a6cb64d3 100644
--- a/chromium/chromeos/components/tether/BUILD.gn
+++ b/chromium/chromeos/components/tether/BUILD.gn
@@ -22,14 +22,27 @@ static_library("tether") {
"ble_scanner.h",
"connect_tethering_operation.cc",
"connect_tethering_operation.h",
+ "crash_recovery_manager.cc",
+ "crash_recovery_manager.h",
"device_id_tether_network_guid_map.cc",
"device_id_tether_network_guid_map.h",
+ "device_status_util.cc",
+ "device_status_util.h",
"disconnect_tethering_operation.cc",
"disconnect_tethering_operation.h",
+ "disconnect_tethering_request_sender.cc",
+ "disconnect_tethering_request_sender.h",
+ "disconnect_tethering_request_sender_impl.cc",
+ "disconnect_tethering_request_sender_impl.h",
+ "host_connection_metrics_logger.cc",
+ "host_connection_metrics_logger.h",
"host_scan_cache.cc",
"host_scan_cache.h",
- "host_scan_device_prioritizer.cc",
+ "host_scan_cache_entry.cc",
+ "host_scan_cache_entry.h",
"host_scan_device_prioritizer.h",
+ "host_scan_device_prioritizer_impl.cc",
+ "host_scan_device_prioritizer_impl.h",
"host_scan_scheduler.cc",
"host_scan_scheduler.h",
"host_scanner.cc",
@@ -38,12 +51,14 @@ static_library("tether") {
"host_scanner_operation.h",
"initializer.cc",
"initializer.h",
+ "initializer_impl.cc",
+ "initializer_impl.h",
"keep_alive_operation.cc",
"keep_alive_operation.h",
"keep_alive_scheduler.cc",
"keep_alive_scheduler.h",
- "local_device_data_provider.cc",
- "local_device_data_provider.h",
+ "master_host_scan_cache.cc",
+ "master_host_scan_cache.h",
"message_transfer_operation.cc",
"message_transfer_operation.h",
"message_wrapper.cc",
@@ -52,21 +67,37 @@ static_library("tether") {
"network_configuration_remover.h",
"network_connection_handler_tether_delegate.cc",
"network_connection_handler_tether_delegate.h",
+ "network_host_scan_cache.cc",
+ "network_host_scan_cache.h",
+ "network_list_sorter.cc",
+ "network_list_sorter.h",
"notification_presenter.h",
+ "notification_remover.cc",
+ "notification_remover.h",
+ "persistent_host_scan_cache.h",
+ "persistent_host_scan_cache_impl.cc",
+ "persistent_host_scan_cache_impl.h",
"pref_names.cc",
"pref_names.h",
- "tether_connector.cc",
"tether_connector.h",
- "tether_disconnector.cc",
+ "tether_connector_impl.cc",
+ "tether_connector_impl.h",
"tether_disconnector.h",
+ "tether_disconnector_impl.cc",
+ "tether_disconnector_impl.h",
"tether_host_fetcher.cc",
"tether_host_fetcher.h",
"tether_host_response_recorder.cc",
"tether_host_response_recorder.h",
"tether_network_disconnection_handler.cc",
"tether_network_disconnection_handler.h",
+ "timer_factory.cc",
+ "timer_factory.h",
"wifi_hotspot_connector.cc",
"wifi_hotspot_connector.h",
+ "wifi_hotspot_disconnector.h",
+ "wifi_hotspot_disconnector_impl.cc",
+ "wifi_hotspot_disconnector_impl.h",
]
deps = [
@@ -96,22 +127,34 @@ static_library("test_support") {
"fake_active_host.h",
"fake_ble_connection_manager.cc",
"fake_ble_connection_manager.h",
+ "fake_disconnect_tethering_request_sender.cc",
+ "fake_disconnect_tethering_request_sender.h",
"fake_host_scan_cache.cc",
"fake_host_scan_cache.h",
+ "fake_initializer.cc",
+ "fake_initializer.h",
"fake_network_configuration_remover.cc",
"fake_network_configuration_remover.h",
"fake_notification_presenter.cc",
"fake_notification_presenter.h",
+ "fake_tether_connector.cc",
+ "fake_tether_connector.h",
+ "fake_tether_disconnector.cc",
+ "fake_tether_disconnector.h",
"fake_tether_host_fetcher.cc",
"fake_tether_host_fetcher.h",
"fake_wifi_hotspot_connector.cc",
"fake_wifi_hotspot_connector.h",
- "mock_host_scan_device_prioritizer.cc",
- "mock_host_scan_device_prioritizer.h",
- "mock_local_device_data_provider.cc",
- "mock_local_device_data_provider.h",
+ "fake_wifi_hotspot_disconnector.cc",
+ "fake_wifi_hotspot_disconnector.h",
+ "host_scan_test_util.cc",
+ "host_scan_test_util.h",
+ "mock_host_connection_metrics_logger.cc",
+ "mock_host_connection_metrics_logger.h",
"mock_tether_host_response_recorder.cc",
"mock_tether_host_response_recorder.h",
+ "proto_test_util.cc",
+ "proto_test_util.h",
]
public_deps = [
@@ -121,6 +164,7 @@ static_library("test_support") {
deps = [
"//base",
"//chromeos",
+ "//chromeos/components/tether/proto",
"//components/cryptauth",
"//testing/gmock",
"//testing/gtest",
@@ -139,26 +183,35 @@ source_set("unit_tests") {
"ble_connection_manager_unittest.cc",
"ble_scanner_unittest.cc",
"connect_tethering_operation_unittest.cc",
+ "crash_recovery_manager_unittest.cc",
+ "device_status_util_unittest.cc",
"disconnect_tethering_operation_unittest.cc",
+ "disconnect_tethering_request_sender_impl_unittest.cc",
+ "host_connection_metrics_logger_unittest.cc",
"host_scan_cache_unittest.cc",
- "host_scan_device_prioritizer_unittest.cc",
+ "host_scan_device_prioritizer_impl_unittest.cc",
"host_scan_scheduler_unittest.cc",
"host_scanner_operation_unittest.cc",
"host_scanner_unittest.cc",
- "initializer_unittest.cc",
+ "initializer_impl_unittest.cc",
"keep_alive_operation_unittest.cc",
"keep_alive_scheduler_unittest.cc",
- "local_device_data_provider_unittest.cc",
+ "master_host_scan_cache_unittest.cc",
"message_transfer_operation_unittest.cc",
"message_wrapper_unittest.cc",
"network_configuration_remover_unittest.cc",
"network_connection_handler_tether_delegate_unittest.cc",
- "tether_connector_unittest.cc",
- "tether_disconnector_unittest.cc",
+ "network_host_scan_cache_unittest.cc",
+ "network_list_sorter_unittest.cc",
+ "notification_remover_unittest.cc",
+ "persistent_host_scan_cache_impl_unittest.cc",
+ "tether_connector_impl_unittest.cc",
+ "tether_disconnector_impl_unittest.cc",
"tether_host_fetcher_unittest.cc",
"tether_host_response_recorder_unittest.cc",
"tether_network_disconnection_handler_unittest.cc",
"wifi_hotspot_connector_unittest.cc",
+ "wifi_hotspot_disconnector_impl_unittest.cc",
]
deps = [