chromium/content/public/test/test_storage_partition.cc

// Copyright 2017 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "content/public/test/test_storage_partition.h"

#include <tuple>

#include "components/leveldb_proto/public/proto_database_provider.h"
#include "content/public/browser/file_system_access_entry_factory.h"
#include "services/network/public/mojom/cookie_manager.mojom.h"

namespace content {

TestStoragePartition::TestStoragePartition() {}
TestStoragePartition::~TestStoragePartition() {}

const StoragePartitionConfig& TestStoragePartition::GetConfig() const {}

const base::FilePath& TestStoragePartition::GetPath() const {}

network::mojom::NetworkContext* TestStoragePartition::GetNetworkContext() {}
cert_verifier::mojom::CertVerifierServiceUpdater*
TestStoragePartition::GetCertVerifierServiceUpdater() {}

storage::SharedStorageManager* TestStoragePartition::GetSharedStorageManager() {}

scoped_refptr<network::SharedURLLoaderFactory>
TestStoragePartition::GetURLLoaderFactoryForBrowserProcess() {}

std::unique_ptr<network::PendingSharedURLLoaderFactory>
TestStoragePartition::GetURLLoaderFactoryForBrowserProcessIOThread() {}

network::mojom::CookieManager*
TestStoragePartition::GetCookieManagerForBrowserProcess() {}

void TestStoragePartition::CreateTrustTokenQueryAnswerer(
    mojo::PendingReceiver<network::mojom::TrustTokenQueryAnswerer> receiver,
    const url::Origin& top_frame_origin) {}

mojo::PendingRemote<network::mojom::URLLoaderNetworkServiceObserver>
TestStoragePartition::CreateURLLoaderNetworkObserverForFrame(int process_id,
                                                             int routing_id) {}

mojo::PendingRemote<network::mojom::URLLoaderNetworkServiceObserver>
TestStoragePartition::CreateURLLoaderNetworkObserverForNavigationRequest(
    NavigationRequest& navigation_request) {}

storage::QuotaManager* TestStoragePartition::GetQuotaManager() {}

BackgroundSyncContext* TestStoragePartition::GetBackgroundSyncContext() {}

storage::FileSystemContext* TestStoragePartition::GetFileSystemContext() {}

storage::DatabaseTracker* TestStoragePartition::GetDatabaseTracker() {}

DOMStorageContext* TestStoragePartition::GetDOMStorageContext() {}

storage::mojom::LocalStorageControl*
TestStoragePartition::GetLocalStorageControl() {}

storage::mojom::IndexedDBControl& TestStoragePartition::GetIndexedDBControl() {}

FileSystemAccessEntryFactory*
TestStoragePartition::GetFileSystemAccessEntryFactory() {}

ServiceWorkerContext* TestStoragePartition::GetServiceWorkerContext() {}

DedicatedWorkerService* TestStoragePartition::GetDedicatedWorkerService() {}

SharedWorkerService* TestStoragePartition::GetSharedWorkerService() {}

storage::mojom::CacheStorageControl*
TestStoragePartition::GetCacheStorageControl() {}

GeneratedCodeCacheContext*
TestStoragePartition::GetGeneratedCodeCacheContext() {}

PlatformNotificationContext*
TestStoragePartition::GetPlatformNotificationContext() {}

InterestGroupManager* TestStoragePartition::GetInterestGroupManager() {}

AttributionDataModel* TestStoragePartition::GetAttributionDataModel() {}

PrivateAggregationDataModel*
TestStoragePartition::GetPrivateAggregationDataModel() {}

CookieDeprecationLabelManager*
TestStoragePartition::GetCookieDeprecationLabelManager() {}

#if BUILDFLAG(ENABLE_LIBRARY_CDMS)
CdmStorageDataModel* TestStoragePartition::GetCdmStorageDataModel() {}
#endif  // BUILDFLAG(ENABLE_LIBRARY_CDMS)

BrowsingTopicsSiteDataManager*
TestStoragePartition::GetBrowsingTopicsSiteDataManager() {}

DevToolsBackgroundServicesContext*
TestStoragePartition::GetDevToolsBackgroundServicesContext() {}

ContentIndexContext* TestStoragePartition::GetContentIndexContext() {}

leveldb_proto::ProtoDatabaseProvider*
TestStoragePartition::GetProtoDatabaseProvider() {}

void TestStoragePartition::SetProtoDatabaseProvider(
    std::unique_ptr<leveldb_proto::ProtoDatabaseProvider> proto_db_provider) {}

leveldb_proto::ProtoDatabaseProvider*
TestStoragePartition::GetProtoDatabaseProviderForTesting() {}

HostZoomMap* TestStoragePartition::GetHostZoomMap() {}

HostZoomLevelContext* TestStoragePartition::GetHostZoomLevelContext() {}

ZoomLevelDelegate* TestStoragePartition::GetZoomLevelDelegate() {}

void TestStoragePartition::ClearDataForOrigin(
    uint32_t remove_mask,
    uint32_t quota_storage_remove_mask,
    const GURL& storage_origin,
    base::OnceClosure callback) {}

void TestStoragePartition::ClearDataForBuckets(
    const blink::StorageKey& storage_key,
    const std::set<std::string>& buckets,
    base::OnceClosure callback) {}

void TestStoragePartition::ClearData(uint32_t remove_mask,
                                     uint32_t quota_storage_remove_mask,
                                     const blink::StorageKey& storage_key,
                                     const base::Time begin,
                                     const base::Time end,
                                     base::OnceClosure callback) {}

void TestStoragePartition::ClearData(
    uint32_t remove_mask,
    uint32_t quota_storage_remove_mask,
    BrowsingDataFilterBuilder* filter_builder,
    StorageKeyPolicyMatcherFunction storage_key_policy_matcher,
    network::mojom::CookieDeletionFilterPtr cookie_deletion_filter,
    bool perform_storage_cleanup,
    const base::Time begin,
    const base::Time end,
    base::OnceClosure callback) {}

void TestStoragePartition::ClearCodeCaches(
    const base::Time begin,
    const base::Time end,
    const base::RepeatingCallback<bool(const GURL&)>& url_matcher,
    base::OnceClosure callback) {}

void TestStoragePartition::Flush() {}

void TestStoragePartition::ResetURLLoaderFactories() {}

void TestStoragePartition::AddObserver(DataRemovalObserver* observer) {}

void TestStoragePartition::RemoveObserver(DataRemovalObserver* observer) {}

int TestStoragePartition::GetDataRemovalObserverCount() {}

void TestStoragePartition::ClearBluetoothAllowedDevicesMapForTesting() {}

void TestStoragePartition::FlushNetworkInterfaceForTesting() {}

void TestStoragePartition::FlushCertVerifierInterfaceForTesting() {}

void TestStoragePartition::WaitForDeletionTasksForTesting() {}

void TestStoragePartition::WaitForCodeCacheShutdownForTesting() {}

void TestStoragePartition::SetNetworkContextForTesting(
    mojo::PendingRemote<network::mojom::NetworkContext>
        network_context_remote) {}

base::WeakPtr<StoragePartition> TestStoragePartition::GetWeakPtr() {}

void TestStoragePartition::InvalidateWeakPtrs() {}

}  // namespace content