#include "chrome/browser/ui/safety_hub/menu_notification.h"
#include <memory>
#include "base/json/values_util.h"
#include "base/time/time.h"
#include "base/values.h"
#include "chrome/browser/content_settings/host_content_settings_map_factory.h"
#include "chrome/browser/ui/safety_hub/safety_hub_constants.h"
#include "chrome/browser/ui/safety_hub/safety_hub_service.h"
#include "chrome/browser/ui/safety_hub/unused_site_permissions_service.h"
#include "chrome/test/base/testing_browser_process.h"
#include "chrome/test/base/testing_profile.h"
#include "chrome/test/base/testing_profile_manager.h"
#include "components/content_settings/core/browser/content_settings_registry.h"
#include "components/content_settings/core/common/content_settings_constraints.h"
#include "content/public/test/browser_task_environment.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
constexpr char kUrl1[] = …;
const base::TimeDelta kLifetime = …;
const base::Time kPastTime = …;
std::unique_ptr<UnusedSitePermissionsService::UnusedSitePermissionsResult>
CreateUnusedSitePermissionsResult(base::Value::List urls) { … }
}
class SafetyHubMenuNotificationTest : public testing::Test { … };
TEST_F(SafetyHubMenuNotificationTest, ToFromDictValue) { … }
TEST_F(SafetyHubMenuNotificationTest, ShouldBeShown) { … }
TEST_F(SafetyHubMenuNotificationTest, IsCurrentlyActive) { … }