chromium/content/public/test/test_browser_context.cc

// Copyright 2012 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_browser_context.h"

#include <memory>
#include <utility>

#include "base/check.h"
#include "base/files/file_path.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/permission_controller_delegate.h"
#include "content/public/browser/platform_notification_service.h"
#include "content/public/browser/resource_context.h"
#include "content/public/test/test_utils.h"
#include "content/test/mock_background_sync_controller.h"
#include "content/test/mock_reduce_accept_language_controller_delegate.h"
#include "content/test/mock_ssl_host_state_delegate.h"
#include "storage/browser/quota/special_storage_policy.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/origin_trials/trial_token_validator.h"

namespace content {

TestBrowserContext::TestBrowserContext(
    base::FilePath browser_context_dir_path) {}

TestBrowserContext::~TestBrowserContext() {}

base::FilePath TestBrowserContext::TakePath() {}

void TestBrowserContext::SetReduceAcceptLanguageControllerDelegate(
    std::unique_ptr<MockReduceAcceptLanguageControllerDelegate> delegate) {}

void TestBrowserContext::SetSpecialStoragePolicy(
    storage::SpecialStoragePolicy* policy) {}

void TestBrowserContext::SetPermissionControllerDelegate(
    std::unique_ptr<PermissionControllerDelegate> delegate) {}

void TestBrowserContext::SetPlatformNotificationService(
    std::unique_ptr<PlatformNotificationService> service) {}

void TestBrowserContext::SetOriginTrialsControllerDelegate(
    OriginTrialsControllerDelegate* delegate) {}

void TestBrowserContext::SetClientHintsControllerDelegate(
    ClientHintsControllerDelegate* delegate) {}

base::FilePath TestBrowserContext::GetPath() {}

std::unique_ptr<ZoomLevelDelegate> TestBrowserContext::CreateZoomLevelDelegate(
    const base::FilePath& partition_path) {}

bool TestBrowserContext::IsOffTheRecord() {}

DownloadManagerDelegate* TestBrowserContext::GetDownloadManagerDelegate() {}

BrowserPluginGuestManager* TestBrowserContext::GetGuestManager() {}

storage::SpecialStoragePolicy* TestBrowserContext::GetSpecialStoragePolicy() {}

PlatformNotificationService*
TestBrowserContext::GetPlatformNotificationService() {}

PushMessagingService* TestBrowserContext::GetPushMessagingService() {}

StorageNotificationService*
TestBrowserContext::GetStorageNotificationService() {}

SSLHostStateDelegate* TestBrowserContext::GetSSLHostStateDelegate() {}

PermissionControllerDelegate*
TestBrowserContext::GetPermissionControllerDelegate() {}

ClientHintsControllerDelegate*
TestBrowserContext::GetClientHintsControllerDelegate() {}

BackgroundFetchDelegate* TestBrowserContext::GetBackgroundFetchDelegate() {}

BackgroundSyncController* TestBrowserContext::GetBackgroundSyncController() {}

BrowsingDataRemoverDelegate*
TestBrowserContext::GetBrowsingDataRemoverDelegate() {}

ReduceAcceptLanguageControllerDelegate*
TestBrowserContext::GetReduceAcceptLanguageControllerDelegate() {}

OriginTrialsControllerDelegate*
TestBrowserContext::GetOriginTrialsControllerDelegate() {}

// static
TestBrowserContext* TestBrowserContext::FromBrowserContext(
    BrowserContext* browser_context) {}

}  // namespace content