// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "convert_explicitly_allowed_network_ports_pref.h" #include <string> #include "base/logging.h" #include "base/strings/string_number_conversions.h" #include "base/values.h" #include "chrome/common/pref_names.h" #include "components/prefs/pref_service.h" std::vector<uint16_t> ConvertExplicitlyAllowedNetworkPortsPref( PrefService* local_state) { … }