#include "chrome/browser/web_applications/commands/os_integration_synchronize_command.h"
#include <map>
#include <memory>
#include "base/files/file_util.h"
#include "base/strings/strcat.h"
#include "base/test/test_future.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/web_applications/manifest_update_utils.h"
#include "chrome/browser/web_applications/os_integration/os_integration_manager.h"
#include "chrome/browser/web_applications/os_integration/os_integration_sub_manager.h"
#include "chrome/browser/web_applications/os_integration/web_app_file_handler_manager.h"
#include "chrome/browser/web_applications/os_integration/web_app_file_handler_registration.h"
#include "chrome/browser/web_applications/os_integration/web_app_protocol_handler_manager.h"
#include "chrome/browser/web_applications/proto/web_app_os_integration_state.pb.h"
#include "chrome/browser/web_applications/proto/web_app_proto_package.pb.h"
#include "chrome/browser/web_applications/test/fake_web_app_provider.h"
#include "chrome/browser/web_applications/test/os_integration_test_override_impl.h"
#include "chrome/browser/web_applications/test/web_app_icon_test_utils.h"
#include "chrome/browser/web_applications/test/web_app_install_test_utils.h"
#include "chrome/browser/web_applications/test/web_app_test.h"
#include "chrome/browser/web_applications/web_app_command_scheduler.h"
#include "chrome/browser/web_applications/web_app_icon_generator.h"
#include "chrome/browser/web_applications/web_app_install_info.h"
#include "chrome/browser/web_applications/web_app_install_params.h"
#include "chrome/browser/web_applications/web_app_provider.h"
#include "chrome/browser/web_applications/web_app_registrar.h"
#include "chrome/browser/web_applications/web_app_registry_update.h"
#include "chrome/browser/web_applications/web_app_sync_bridge.h"
#include "chrome/common/chrome_features.h"
#include "components/services/app_service/public/cpp/protocol_handler_info.h"
#include "components/sync/base/time.h"
#include "components/webapps/browser/install_result_code.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace web_app {
namespace {
Eq;
class OsIntegrationSynchronizeCommandTest : public WebAppTest { … };
TEST_F(OsIntegrationSynchronizeCommandTest, ProtocolHandlers) { … }
TEST_F(OsIntegrationSynchronizeCommandTest, InstallSynchronizesFileHandlers) { … }
TEST_F(OsIntegrationSynchronizeCommandTest, RunOnOsLogin) { … }
TEST_F(OsIntegrationSynchronizeCommandTest, InstallSynchronizesShortcutsMenu) { … }
TEST_F(OsIntegrationSynchronizeCommandTest, InstallSynchronizesShortcuts) { … }
TEST_F(OsIntegrationSynchronizeCommandTest,
InstallSynchronizesUninstallRegistration) { … }
TEST_F(OsIntegrationSynchronizeCommandTest, UpgradeToFullyInstalled) { … }
}
}