#include <memory>
#include <optional>
#include <string_view>
#include <utility>
#include <vector>
#include "base/functional/callback.h"
#include "base/observer_list.h"
#include "base/test/gmock_callback_support.h"
#include "base/time/time.h"
#include "content/browser/aggregation_service/aggregation_service.h"
#include "content/browser/aggregation_service/aggregation_service_observer.h"
#include "content/browser/aggregation_service/aggregation_service_storage.h"
#include "content/browser/aggregation_service/aggregation_service_test_utils.h"
#include "content/browser/private_aggregation/private_aggregation_internals_ui.h"
#include "content/browser/private_aggregation/private_aggregation_test_utils.h"
#include "content/browser/storage_partition_impl.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/browser_test.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/content_browser_test.h"
#include "content/public/test/content_browser_test_utils.h"
#include "content/shell/browser/shell.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "url/gurl.h"
namespace content {
namespace {
GetPendingReportsCallback;
constexpr std::string_view kPrivateAggregationInternalsUrl = …;
constexpr std::u16string_view kCompleteTitle = …;
class PrivateAggregationInternalsWebUiBrowserTest : public ContentBrowserTest { … };
IN_PROC_BROWSER_TEST_F(PrivateAggregationInternalsWebUiBrowserTest,
NavigationUrl_ResolvedToWebUI) { … }
IN_PROC_BROWSER_TEST_F(PrivateAggregationInternalsWebUiBrowserTest,
WebUIShownWithNoReports_NoReportsDisplayed) { … }
IN_PROC_BROWSER_TEST_F(PrivateAggregationInternalsWebUiBrowserTest,
WebUIShownWithReports_ReportsDisplayed) { … }
IN_PROC_BROWSER_TEST_F(PrivateAggregationInternalsWebUiBrowserTest,
WebUISendReports_ReportsRemoved) { … }
IN_PROC_BROWSER_TEST_F(PrivateAggregationInternalsWebUiBrowserTest,
WebUIClearStorage_ReportsRemoved) { … }
}
}