#include "chrome/browser/feedback/system_logs/log_sources/family_info_log_source.h"
#include <memory>
#include "base/test/bind.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/scoped_feature_list.h"
#include "base/test/task_environment.h"
#include "components/prefs/testing_pref_service.h"
#include "components/signin/public/identity_manager/account_capabilities_test_mutator.h"
#include "components/signin/public/identity_manager/identity_test_environment.h"
#include "components/supervised_user/core/browser/list_family_members_service.h"
#include "components/supervised_user/core/browser/supervised_user_preferences.h"
#include "components/supervised_user/core/common/features.h"
#include "components/supervised_user/core/common/supervised_user_constants.h"
#include "components/supervised_user/test_support/kids_chrome_management_test_utils.h"
#include "content/public/test/browser_task_environment.h"
#include "services/network/public/cpp/weak_wrapper_shared_url_loader_factory.h"
#include "services/network/test/test_url_loader_factory.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace system_logs {
class FamilyInfoLogSourceTest : public ::testing::Test { … };
TEST_F(FamilyInfoLogSourceTest, FetchMemberSignedInBeforeDeadline) { … }
TEST_F(FamilyInfoLogSourceTest,
FetchMemberSignedInBeforeDeadlineWithFamilyMemberPref) { … }
TEST_F(FamilyInfoLogSourceTest, FetchMemberSignedInRequestTimeout) { … }
TEST_F(FamilyInfoLogSourceTest,
FetchMemberSignedInWithRequestCompleteAfterDeadline) { … }
TEST_F(FamilyInfoLogSourceTest, FetchMemberSignedOut) { … }
}