chromium/extensions/browser/api/system_storage/system_storage_apitest.cc

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

#include <stddef.h>

#include <atomic>
#include <vector>

#include "base/memory/scoped_refptr.h"
#include "base/run_loop.h"
#include "components/storage_monitor/storage_monitor.h"
#include "components/storage_monitor/test_storage_monitor.h"
#include "extensions/browser/api/system_storage/storage_api_test_util.h"
#include "extensions/browser/api/system_storage/storage_info_provider.h"
#include "extensions/shell/test/shell_apitest.h"
#include "extensions/test/extension_test_message_listener.h"
#include "extensions/test/result_catcher.h"

namespace {

StorageUnitInfoList;
TestStorageUnitInfo;
kRemovableStorageData;
StorageMonitor;
TestStorageMonitor;

const struct TestStorageUnitInfo kTestingData[] =;

}  // namespace

class TestStorageInfoProvider : public extensions::StorageInfoProvider {};

TestStorageInfoProvider::TestStorageInfoProvider(
    const struct TestStorageUnitInfo* testing_data,
    size_t n)
    :{}

TestStorageInfoProvider::~TestStorageInfoProvider() = default;

double TestStorageInfoProvider::GetStorageFreeSpaceFromTransientIdAsync(
    const std::string& transient_id) {}

class SystemStorageApiTest : public extensions::ShellApiTest {};

IN_PROC_BROWSER_TEST_F(SystemStorageApiTest, Storage) {}

IN_PROC_BROWSER_TEST_F(SystemStorageApiTest, StorageAttachment) {}