#include "components/sync/base/sync_util.h"
#include <string_view>
#include "base/command_line.h"
#include "base/logging.h"
#include "base/strings/strcat.h"
#include "base/strings/stringize_macros.h"
#include "build/build_config.h"
#include "build/chromeos_buildflags.h"
#include "components/sync/base/command_line_switches.h"
#include "components/version_info/version_info.h"
#include "google_apis/gaia/gaia_config.h"
#include "ui/base/device_form_factor.h"
#include "url/gurl.h"
namespace {
std::string GetSystemString() { … }
}
namespace syncer {
namespace internal {
std::string FormatUserAgentForSync(const std::string& system,
version_info::Channel channel) { … }
}
GURL GetSyncServiceURL(const base::CommandLine& command_line,
version_info::Channel channel) { … }
std::string MakeUserAgentForSync(version_info::Channel channel) { … }
}