chromium/chrome/browser/enterprise/connectors/analysis/page_print_analysis_request_unittest.cc

// Copyright 2022 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/enterprise/connectors/analysis/page_print_analysis_request.h"

#include "base/functional/callback_helpers.h"
#include "base/memory/read_only_shared_memory_region.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "chrome/browser/enterprise/connectors/common.h"
#include "chrome/browser/safe_browsing/cloud_content_scanning/binary_upload_service.h"
#include "components/enterprise/common/proto/connectors.pb.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace enterprise_connectors {

static base::ReadOnlySharedMemoryRegion CreateFakePage(size_t page_size) {}

constexpr std::pair<safe_browsing::BinaryUploadService::Result, size_t>
    kTestValues[] =;

class PagePrintAnalysisRequestTest
    : public testing::TestWithParam<
          std::pair<safe_browsing::BinaryUploadService::Result, size_t>> {};

INSTANTIATE_TEST_SUITE_P();

TEST_P(PagePrintAnalysisRequestTest, CloudSizes) {}

TEST_P(PagePrintAnalysisRequestTest, LocalSizes) {}

// Calling GetRequestData() twice should return the same valid region.
TEST(PagePrintAnalysisRequest, GetRequestData) {}

}  // namespace enterprise_connectors