chromium/chrome/browser/extensions/api/storage/sync_value_store_cache.cc

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

#include "chrome/browser/extensions/api/storage/sync_value_store_cache.h"

#include <stddef.h>

#include <utility>

#include "base/functional/bind.h"
#include "base/task/sequenced_task_runner.h"
#include "chrome/browser/extensions/api/storage/sync_storage_backend.h"
#include "chrome/browser/sync/glue/sync_start_util.h"
#include "components/value_store/value_store_factory.h"
#include "content/public/browser/browser_thread.h"
#include "extensions/browser/api/storage/backend_task_runner.h"
#include "extensions/common/api/storage.h"
#include "extensions/common/extension.h"
#include "extensions/common/extension_id.h"

BrowserThread;

namespace extensions {

namespace {

// Returns the quota limit for sync storage, taken from the schema in
// extensions/common/api/storage.json.
SettingsStorageQuotaEnforcer::Limits GetSyncQuotaLimits() {}

}  // namespace

SyncValueStoreCache::SyncValueStoreCache(
    scoped_refptr<value_store::ValueStoreFactory> factory,
    SettingsChangedCallback observer,
    const base::FilePath& profile_path)
    :{}

SyncValueStoreCache::~SyncValueStoreCache() {}

base::WeakPtr<SyncValueStoreCache> SyncValueStoreCache::AsWeakPtr() {}

syncer::SyncableService* SyncValueStoreCache::GetSyncableService(
    syncer::DataType type) {}

void SyncValueStoreCache::RunWithValueStoreForExtension(
    StorageCallback callback,
    scoped_refptr<const Extension> extension) {}

void SyncValueStoreCache::DeleteStorageSoon(const ExtensionId& extension_id) {}

void SyncValueStoreCache::InitOnBackend(
    scoped_refptr<value_store::ValueStoreFactory> factory,
    SequenceBoundSettingsChangedCallback observer,
    const base::FilePath& profile_path) {}

}  // namespace extensions