chromium/components/offline_pages/core/offline_page_client_policy.cc

// Copyright 2019 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/offline_pages/core/offline_page_client_policy.h"

#include <map>
#include <string>
#include <utility>
#include <vector>

#include "base/no_destructor.h"
#include "base/time/time.h"
#include "components/offline_pages/core/client_namespace_constants.h"

namespace offline_pages {

namespace {
struct PolicyData {};

PolicyData BuildPolicies() {}

const PolicyData& GetPolicyData() {}

}  // namespace

OfflinePageClientPolicy::OfflinePageClientPolicy(std::string namespace_val,
                                                 LifetimeType lifetime_type_val)
    :{}

// static
OfflinePageClientPolicy OfflinePageClientPolicy::CreateTemporary(
    const std::string& name_space,
    const base::TimeDelta& expiration_period) {}

// static
OfflinePageClientPolicy OfflinePageClientPolicy::CreatePersistent(
    const std::string& name_space) {}

OfflinePageClientPolicy::OfflinePageClientPolicy(
    const OfflinePageClientPolicy& other) = default;

OfflinePageClientPolicy::~OfflinePageClientPolicy() = default;

const OfflinePageClientPolicy& GetPolicy(const std::string& name) {}

const std::vector<std::string>& GetAllPolicyNamespaces() {}
const std::vector<std::string>& GetTemporaryPolicyNamespaces() {}
const std::vector<std::string>& GetPersistentPolicyNamespaces() {}

}  // namespace offline_pages