• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2017 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "net/reporting/reporting_cache.h"
6 
7 #include "net/reporting/reporting_cache_impl.h"
8 #include "net/reporting/reporting_context.h"
9 
10 namespace net {
11 
12 // static
Create(ReportingContext * context,const base::flat_map<std::string,GURL> & enterprise_reporting_endpoints)13 std::unique_ptr<ReportingCache> ReportingCache::Create(
14     ReportingContext* context,
15     const base::flat_map<std::string, GURL>& enterprise_reporting_endpoints) {
16   return std::make_unique<ReportingCacheImpl>(context,
17                                               enterprise_reporting_endpoints);
18 }
19 
20 ReportingCache::~ReportingCache() = default;
21 
22 }  // namespace net
23