blob: 228ee3b3bd61812d07c20012cf6ee05ef93bc3bc [file] [log] [blame]
// Copyright 2024 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/shortcuts/fake_linux_xdg_wrapper.h"
#include <stdlib.h>
#include "base/files/file_path.h"
namespace shortcuts {
FakeLinuxXdgWrapper::FakeLinuxXdgWrapper() = default;
FakeLinuxXdgWrapper::~FakeLinuxXdgWrapper() = default;
int FakeLinuxXdgWrapper::XdgDesktopMenuInstall(
const base::FilePath& desktop_file) {
installs_.push_back(desktop_file);
return EXIT_SUCCESS;
}
} // namespace shortcuts