1 // Copyright 2019 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CHROMEOS_COMPONENTS_SYNC_WIFI_NETWORK_ELIGIBILITY_CHECKER_H_ 6 #define CHROMEOS_COMPONENTS_SYNC_WIFI_NETWORK_ELIGIBILITY_CHECKER_H_ 7 8 #include <string> 9 10 #include "chromeos/services/network_config/public/mojom/cros_network_config.mojom-forward.h" 11 #include "chromeos/services/network_config/public/mojom/network_types.mojom-forward.h" 12 13 namespace chromeos { 14 15 namespace sync_wifi { 16 17 bool IsEligibleForSync(const std::string& guid, 18 bool is_connectable, 19 const network_config::mojom::SecurityType& security_type, 20 const network_config::mojom::OncSource& source, 21 bool log_result); 22 23 } // namespace sync_wifi 24 25 } // namespace chromeos 26 27 #endif // CHROMEOS_COMPONENTS_SYNC_WIFI_NETWORK_ELIGIBILITY_CHECKER_H_ 28