chromium/components/media_device_salt/media_device_salt_service.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 "components/media_device_salt/media_device_salt_service.h"

#include <utility>

#include "base/feature_list.h"
#include "base/functional/bind.h"
#include "base/system/system_monitor.h"
#include "base/task/sequenced_task_runner.h"
#include "base/task/task_traits.h"
#include "base/task/thread_pool.h"
#include "base/threading/sequence_bound.h"
#include "base/time/time.h"
#include "base/unguessable_token.h"
#include "components/media_device_salt/media_device_id_salt.h"
#include "components/media_device_salt/media_device_salt_database.h"
#include "third_party/blink/public/common/storage_key/storage_key.h"

namespace media_device_salt {

BASE_FEATURE();
BASE_FEATURE();

namespace {

scoped_refptr<base::SequencedTaskRunner> CreateDatabaseTaskRunner() {}

}  // namespace

MediaDeviceSaltService::MediaDeviceSaltService(PrefService* pref_service,
                                               const base::FilePath& path)
    :{}

MediaDeviceSaltService::~MediaDeviceSaltService() = default;

void MediaDeviceSaltService::GetSalt(
    const blink::StorageKey& storage_key,
    base::OnceCallback<void(const std::string&)> callback) {}

void MediaDeviceSaltService::FinalizeGetSalt(
    base::OnceCallback<void(const std::string&)> callback,
    std::optional<std::string> salt) {}

void MediaDeviceSaltService::DeleteSalts(
    base::Time delete_begin,
    base::Time delete_end,
    content::StoragePartition::StorageKeyMatcherFunction matcher,
    base::OnceClosure done_closure) {}

void MediaDeviceSaltService::FinalizeDeleteSalts(
    base::OnceClosure done_closure) {}

void MediaDeviceSaltService::DeleteSalt(const blink::StorageKey& storage_key,
                                        base::OnceClosure done_closure) {}

void MediaDeviceSaltService::GetAllStorageKeys(
    base::OnceCallback<void(std::vector<blink::StorageKey>)> callback) {}

void MediaDeviceSaltService::FinalizeGetAllStorageKeys(
    base::OnceCallback<void(std::vector<blink::StorageKey>)> callback,
    std::vector<blink::StorageKey> storage_keys) {}

std::string MediaDeviceSaltService::GetGlobalSalt() {}

void MediaDeviceSaltService::ResetGlobalSalt() {}

}  // namespace media_device_salt