1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26

content / browser / aggregation_service / aggregation_service_storage_context.h [blame]

// Copyright 2021 The Chromium Authors
// 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 AggregationServiceStorage;

// Internal interface that provides access to the storage.
class AggregationServiceStorageContext {
 public:
  virtual ~AggregationServiceStorageContext() = default;

  // Returns the underlying storage for public keys and report requests.
  virtual const base::SequenceBound<AggregationServiceStorage>&
  GetStorage() = 0;
};

}  // namespace content

#endif  // CONTENT_BROWSER_AGGREGATION_SERVICE_AGGREGATION_SERVICE_STORAGE_CONTEXT_H_