chromium/chrome/browser/safe_browsing/cloud_content_scanning/cloud_binary_upload_service_browsertest.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/safe_browsing/cloud_content_scanning/cloud_binary_upload_service.h"

#include "base/test/test_future.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/enterprise/connectors/connectors_service.h"
#include "chrome/browser/enterprise/connectors/test/management_context_mixin.h"
#include "chrome/browser/enterprise/connectors/test/test_constants.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/safe_browsing/cloud_content_scanning/cloud_binary_upload_service_factory.h"
#include "chrome/browser/safe_browsing/safe_browsing_service.h"
#include "chrome/test/base/mixin_based_in_process_browser_test.h"
#include "components/keyed_service/core/keyed_service.h"
#include "content/public/test/browser_test.h"

namespace safe_browsing {
namespace {

constexpr char kData[] =;
constexpr char kTestUrl[] =;
constexpr char kTestAccessToken[] =;
constexpr char kTestInstanceId[] =;

struct ManagementContextDeviceRequest {};

constexpr ManagementContextDeviceRequest kTestCases[] =;

class TestSafeBrowsingTokenFetcher : public SafeBrowsingTokenFetcher {};

class TestBinaryFCMService : public BinaryFCMService {};

class TestCloudBinaryUploadService : public CloudBinaryUploadService {};

class TestRequest : public CloudBinaryUploadService::Request {};

class CloudBinaryUploadServiceRequestValidationBrowserTest
    : public MixinBasedInProcessBrowserTest,
      public testing::WithParamInterface<ManagementContextDeviceRequest> {};

}  // namespace

IN_PROC_BROWSER_TEST_P(CloudBinaryUploadServiceRequestValidationBrowserTest,
                       Paste) {}

IN_PROC_BROWSER_TEST_P(CloudBinaryUploadServiceRequestValidationBrowserTest,
                       FileAttach) {}

IN_PROC_BROWSER_TEST_P(CloudBinaryUploadServiceRequestValidationBrowserTest,
                       FileDownload) {}

IN_PROC_BROWSER_TEST_P(CloudBinaryUploadServiceRequestValidationBrowserTest,
                       Print) {}

INSTANTIATE_TEST_SUITE_P();

}  // namespace safe_browsing