#include "components/user_education/test/feature_promo_session_test_util.h"
#include <memory>
#include "base/callback_list.h"
#include "base/time/default_clock.h"
#include "base/time/time.h"
#include "components/user_education/common/feature_promo_data.h"
#include "components/user_education/common/feature_promo_session_manager.h"
#include "components/user_education/common/feature_promo_storage_service.h"
#include "components/user_education/test/feature_promo_session_mocks.h"
namespace user_education::test {
FeaturePromoSessionTestUtil::FeaturePromoSessionTestUtil(
FeaturePromoSessionManager& session_manager,
const FeaturePromoSessionData& session_data,
const FeaturePromoPolicyData& policy_data,
std::optional<base::Time> new_last_active_time,
std::optional<base::Time> new_now)
: … { … }
FeaturePromoSessionTestUtil::~FeaturePromoSessionTestUtil() { … }
void FeaturePromoSessionTestUtil::SetNow(base::Time new_now) { … }
void FeaturePromoSessionTestUtil::UpdateLastActiveTime(
std::optional<base::Time> new_active_time,
bool send_update) { … }
}