#include "chrome/browser/ui/file_system_access/file_system_access_ui_helpers.h"
#include <optional>
#include <string>
#include "base/containers/contains.h"
#include "base/files/file_path.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/url_identity.h"
#include "ui/gfx/font_list.h"
#include "ui/gfx/text_elider.h"
#include "url/gurl.h"
#if defined(TOOLKIT_VIEWS)
#include "ui/views/layout/layout_provider.h"
#endif
namespace {
base::FilePath GetPathForDisplayAsPath(const base::FilePath& path) { … }
constexpr UrlIdentity::TypeSet kUrlIdentityAllowedTypes = …;
constexpr UrlIdentity::FormatOptions kUrlIdentityOptions{ … };
}
namespace file_system_access_ui_helper {
std::u16string GetElidedPathForDisplayAsTitle(const base::FilePath& path) { … }
std::u16string GetPathForDisplayAsParagraph(const base::FilePath& path) { … }
std::u16string GetUrlIdentityName(Profile* profile, const GURL& url) { … }
}