#include "chrome/browser/ui/views/web_apps/isolated_web_apps/callback_delayer.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "base/test/test_future.h"
#include "base/time/time.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace web_app {
namespace {
DoubleEq;
Eq;
IsFalse;
IsTrue;
}
class CallbackDelayerTest : public ::testing::Test { … };
TEST_F(CallbackDelayerTest, ProgressCallbackCalled) { … }
TEST_F(CallbackDelayerTest, CallbackDelayed) { … }
TEST_F(CallbackDelayerTest, ProgressPausesIfCallbackNotCalled) { … }
}