blob: 980e116dc6877939bbceff8305fccefd5399b69e [file] [log] [blame]
// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CONTENT_BROWSER_AGGREGATION_SERVICE_AGGREGATION_SERVICE_STORAGE_CONTEXT_H_
#define CONTENT_BROWSER_AGGREGATION_SERVICE_AGGREGATION_SERVICE_STORAGE_CONTEXT_H_
#include "base/threading/sequence_bound.h"
namespace content {
class AggregationServiceKeyStorage;
// Internal interface that provides access to the storage.
class AggregationServiceStorageContext {
public:
virtual ~AggregationServiceStorageContext() = default;
// Returns the underlying storage for public keys.
virtual const base::SequenceBound<AggregationServiceKeyStorage>&
GetKeyStorage() = 0;
};
} // namespace content
#endif // CONTENT_BROWSER_AGGREGATION_SERVICE_AGGREGATION_SERVICE_STORAGE_CONTEXT_H_