chromium/chrome/browser/safe_browsing/cloud_content_scanning/connector_upload_request.cc

// Copyright 2024 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/connector_upload_request.h"

#include "base/files/file_path.h"
#include "base/memory/scoped_refptr.h"
#include "base/task/thread_pool.h"
#include "content/public/browser/browser_thread.h"
#include "net/traffic_annotation/network_traffic_annotation.h"
#include "services/network/public/cpp/shared_url_loader_factory.h"

namespace safe_browsing {

// static
ConnectorUploadRequestFactory* ConnectorUploadRequest::factory_ =;

ConnectorUploadRequest::ConnectorUploadRequest(
    scoped_refptr<network::SharedURLLoaderFactory> url_loader_factory,
    const GURL& base_url,
    const std::string& metadata,
    const std::string& data,
    const net::NetworkTrafficAnnotationTag& traffic_annotation,
    Callback callback)
    :{}

ConnectorUploadRequest::ConnectorUploadRequest(
    scoped_refptr<network::SharedURLLoaderFactory> url_loader_factory,
    const GURL& base_url,
    const std::string& metadata,
    const base::FilePath& path,
    uint64_t file_size,
    const net::NetworkTrafficAnnotationTag& traffic_annotation,
    Callback callback)
    :{}

ConnectorUploadRequest::ConnectorUploadRequest(
    scoped_refptr<network::SharedURLLoaderFactory> url_loader_factory,
    const GURL& base_url,
    const std::string& metadata,
    base::ReadOnlySharedMemoryRegion page_region,
    const net::NetworkTrafficAnnotationTag& traffic_annotation,
    Callback callback)
    :{}

ConnectorUploadRequest::~ConnectorUploadRequest() {}

void ConnectorUploadRequest::set_access_token(const std::string& access_token) {}
}  // namespace safe_browsing