chromium/content/browser/background_sync/background_sync_base_browsertest.cc

// Copyright 2019 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/browser/background_sync/background_sync_base_browsertest.h"

#include <memory>
#include <set>
#include <vector>
#include "base/metrics/field_trial_param_associator.h"
#include "base/strings/stringprintf.h"
#include "base/task/single_thread_task_runner.h"
#include "content/browser/background_sync/background_sync_manager.h"
#include "content/browser/storage_partition_impl.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/service_worker_context.h"
#include "content/public/test/background_sync_test_util.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/content_browser_test_utils.h"
#include "content/shell/browser/shell.h"
#include "content/test/mock_background_sync_controller.h"
#include "third_party/blink/public/common/storage_key/storage_key.h"

namespace content {

BackgroundSyncBaseBrowserTest::BackgroundSyncBaseBrowserTest() = default;
BackgroundSyncBaseBrowserTest::~BackgroundSyncBaseBrowserTest() = default;

std::string BackgroundSyncBaseBrowserTest::BuildScriptString(
    const std::string& function,
    const std::string& argument) {}

std::string BackgroundSyncBaseBrowserTest::BuildExpectedResult(
    const std::string& tag,
    const std::string& action) {}

bool BackgroundSyncBaseBrowserTest::RegistrationPending(
    const std::string& tag) {}

void BackgroundSyncBaseBrowserTest::CompleteDelayedSyncEvent() {}

void BackgroundSyncBaseBrowserTest::RegistrationPendingCallback(
    base::OnceClosure quit,
    const scoped_refptr<base::SingleThreadTaskRunner>& task_runner,
    bool* result_out,
    bool result) {}

void BackgroundSyncBaseBrowserTest::RegistrationPendingDidGetSyncRegistration(
    const std::string& tag,
    base::OnceCallback<void(bool)> callback,
    BackgroundSyncStatus error_type,
    std::vector<std::unique_ptr<BackgroundSyncRegistration>> registrations) {}

void BackgroundSyncBaseBrowserTest::RegistrationPendingDidGetSWRegistration(
    const scoped_refptr<BackgroundSyncContextImpl> sync_context,
    const std::string& tag,
    base::OnceCallback<void(bool)> callback,
    blink::ServiceWorkerStatusCode status,
    scoped_refptr<ServiceWorkerRegistration> registration) {}

void BackgroundSyncBaseBrowserTest::RegistrationPendingOnCoreThread(
    const scoped_refptr<BackgroundSyncContextImpl> sync_context,
    const scoped_refptr<ServiceWorkerContextWrapper> sw_context,
    const std::string& tag,
    const GURL& url,
    base::OnceCallback<void(bool)> callback) {}

void BackgroundSyncBaseBrowserTest::SetUp() {}

void BackgroundSyncBaseBrowserTest::SetIncognitoMode(bool incognito) {}

StoragePartitionImpl* BackgroundSyncBaseBrowserTest::GetStorage() {}

WebContents* BackgroundSyncBaseBrowserTest::web_contents() {}

void BackgroundSyncBaseBrowserTest::SetUpOnMainThread() {}

void BackgroundSyncBaseBrowserTest::TearDownOnMainThread() {}

void BackgroundSyncBaseBrowserTest::LoadTestPage(const std::string& path) {}

void BackgroundSyncBaseBrowserTest::SetTestClock(base::SimpleTestClock* clock) {}

void BackgroundSyncBaseBrowserTest::ClearStoragePartitionData() {}

EvalJsResult BackgroundSyncBaseBrowserTest::PopConsoleString() {}

void BackgroundSyncBaseBrowserTest::RegisterServiceWorker() {}

}  // namespace content