#include "chrome/browser/web_applications/commands/clear_browsing_data_command.h"
#include "base/memory/raw_ptr.h"
#include "base/test/test_future.h"
#include "chrome/browser/web_applications/test/fake_web_app_provider.h"
#include "chrome/browser/web_applications/test/web_app_test.h"
#include "chrome/browser/web_applications/test/web_app_test_utils.h"
#include "chrome/browser/web_applications/web_app_command_manager.h"
#include "chrome/browser/web_applications/web_app_command_scheduler.h"
#include "chrome/browser/web_applications/web_app_registry_update.h"
#include "chrome/browser/web_applications/web_app_sync_bridge.h"
namespace web_app {
class ClearBrowsingDataCommandTest : public WebAppTest { … };
TEST_F(ClearBrowsingDataCommandTest, ClearLastLaunchTimeForAllTimes) { … }
TEST_F(ClearBrowsingDataCommandTest, ClearLastLaunchTimeForSpecificTimeRange) { … }
TEST_F(ClearBrowsingDataCommandTest,
ClearLastLaunchTimeCalledBeforeWebAppProviderIsReady) { … }
TEST_F(ClearBrowsingDataCommandTest, ClearLastBadgingTimeForAllTimes) { … }
TEST_F(ClearBrowsingDataCommandTest, ClearLastBadgingTimeForSpecificTimeRange) { … }
}