chromium/components/policy/core/common/cloud/cloud_external_data_store.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 "components/policy/core/common/cloud/cloud_external_data_store.h"

#include <set>

#include "base/check.h"
#include "base/strings/string_number_conversions.h"
#include "base/task/sequenced_task_runner.h"
#include "components/policy/core/common/cloud/resource_cache.h"
#include "crypto/sha2.h"

namespace policy {

namespace {

// Encodes (key, hash) into a single string.
std::string GetSubkey(const std::string& key, const std::string& hash) {}

}  // namespace

CloudExternalDataStore::CloudExternalDataStore(
    const std::string& cache_key,
    scoped_refptr<base::SequencedTaskRunner> task_runner,
    ResourceCache* cache)
    :{}

CloudExternalDataStore::~CloudExternalDataStore() {}

void CloudExternalDataStore::Prune(const PruningData& key_hash_pairs_to_keep) {}

base::FilePath CloudExternalDataStore::Store(const std::string& key,
                                             const std::string& hash,
                                             const std::string& data) {}

base::FilePath CloudExternalDataStore::Load(const std::string& key,
                                            const std::string& hash,
                                            size_t max_size,
                                            std::string* data) {}

}  // namespace policy