chromium/chrome/browser/policy/messaging_layer/storage_selector/storage_selector.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/policy/messaging_layer/storage_selector/storage_selector.h"

#include <string_view>
#include <utility>

#include "base/files/file_path.h"
#include "base/memory/scoped_refptr.h"
#include "base/path_service.h"
#include "base/types/expected.h"
#include "chrome/browser/policy/messaging_layer/upload/upload_client.h"
#include "chrome/browser/policy/messaging_layer/util/upload_declarations.h"
#include "components/reporting/compression/compression_module.h"
#include "components/reporting/encryption/encryption_module.h"
#include "components/reporting/storage/storage_configuration.h"
#include "components/reporting/storage/storage_module.h"
#include "components/reporting/storage/storage_module_interface.h"
#include "components/reporting/util/statusor.h"

namespace reporting {

// static
bool StorageSelector::is_uploader_required() {}

// static
bool StorageSelector::is_use_missive() {}

// static
void StorageSelector::CreateLocalStorageModule(
    const base::FilePath& local_reporting_path,
    std::string_view verification_key,
    CompressionInformation::CompressionAlgorithm compression_algorithm,
    UploaderInterface::AsyncStartUploaderCb async_start_upload_cb,
    base::OnceCallback<void(StatusOr<scoped_refptr<StorageModuleInterface>>)>
        cb) {}

// static
ReportSuccessfulUploadCallback
StorageSelector::GetLocalReportSuccessfulUploadCb(
    scoped_refptr<StorageModuleInterface> storage_module) {}

// static
EncryptionKeyAttachedCallback StorageSelector::GetLocalEncryptionKeyAttachedCb(
    scoped_refptr<StorageModuleInterface> storage_module) {}
}  // namespace reporting