#include "chrome/browser/web_applications/os_integration/web_app_shortcut_linux.h"
#include <stddef.h>
#include <algorithm>
#include <cstdlib>
#include <map>
#include <string_view>
#include <vector>
#include "base/base_paths.h"
#include "base/command_line.h"
#include "base/containers/contains.h"
#include "base/containers/span.h"
#include "base/environment.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/logging.h"
#include "base/nix/xdg_util.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "base/test/bind.h"
#include "base/test/scoped_path_override.h"
#include "chrome/browser/shell_integration_linux.h"
#include "chrome/browser/web_applications/os_integration/os_integration_test_override.h"
#include "chrome/browser/web_applications/os_integration/web_app_shortcut.h"
#include "chrome/browser/web_applications/test/os_integration_test_override_impl.h"
#include "chrome/browser/web_applications/test/web_app_test.h"
#include "chrome/browser/web_applications/web_app_constants.h"
#include "chrome/browser/web_applications/web_app_install_info.h"
#include "chrome/common/chrome_constants.h"
#include "components/webapps/common/web_app_id.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/image/image_skia.h"
#include "url/gurl.h"
namespace web_app {
class WebAppShortcutLinuxTest : public WebAppTest { … };
TEST_F(WebAppShortcutLinuxTest, GetExistingShortcutLocations) { … }
TEST_F(WebAppShortcutLinuxTest, GetExtensionShortcutFilename) { … }
TEST_F(WebAppShortcutLinuxTest, DeleteDesktopShortcuts) { … }
TEST_F(WebAppShortcutLinuxTest, DeleteAllDesktopShortcuts) { … }
TEST_F(WebAppShortcutLinuxTest, CreateDesktopShortcut) { … }
TEST_F(WebAppShortcutLinuxTest, CreateDesktopShortcutWithProtocols) { … }
TEST_F(WebAppShortcutLinuxTest,
CreateDesktopShortcutWithNonExistantUserDesktopDir) { … }
TEST_F(WebAppShortcutLinuxTest, CreateDesktopShortcutEmptyExtension) { … }
TEST_F(WebAppShortcutLinuxTest, UpdateDesktopShortcuts) { … }
TEST_F(WebAppShortcutLinuxTest, GetShortcutLocations) { … }
TEST_F(WebAppShortcutLinuxTest, CreateDesktopShortcutWithShortcutMenuActions) { … }
}