chromium/chrome/browser/ui/safety_hub/menu_notification_unittest.cc

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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 =;

// TODO(crbug.com/40267370): Use a mock result instead.
std::unique_ptr<UnusedSitePermissionsService::UnusedSitePermissionsResult>
CreateUnusedSitePermissionsResult(base::Value::List urls) {}
}  // namespace

class SafetyHubMenuNotificationTest : public testing::Test {};

TEST_F(SafetyHubMenuNotificationTest, ToFromDictValue) {}

TEST_F(SafetyHubMenuNotificationTest, ShouldBeShown) {}

TEST_F(SafetyHubMenuNotificationTest, IsCurrentlyActive) {}

// TODO(crbug.com/40267370): Add tests for other types of Safety Hub services
// and Safety Hub results.