chromium/chrome/browser/ui/file_system_access/file_system_access_ui_helpers.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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) {}

// Expected URL types for `UrlIdentity::CreateFromUrl()`.
constexpr UrlIdentity::TypeSet kUrlIdentityAllowedTypes =;

constexpr UrlIdentity::FormatOptions kUrlIdentityOptions{};

}  // namespace

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) {}

}  // namespace file_system_access_ui_helper