chromium/components/feed/core/v2/prefs.cc

// Copyright 2020 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/feed/core/v2/prefs.h"

#include <utility>

#include "base/token.h"
#include "base/values.h"
#include "components/feed/core/common/pref_names.h"
#include "components/feed/core/v2/public/types.h"
#include "components/feed/core/v2/scheduling.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/pref_service.h"

namespace feed {
namespace prefs {
namespace {

const char* RequestSchedulePrefName(RefreshTaskId task_id) {}

}  // namespace
std::vector<int> GetThrottlerRequestCounts(PrefService& pref_service) {}

void SetThrottlerRequestCounts(std::vector<int> request_counts,
                               PrefService& pref_service) {}

base::Time GetLastRequestTime(PrefService& pref_service) {}

void SetLastRequestTime(base::Time request_time, PrefService& pref_service) {}

DebugStreamData GetDebugStreamData(PrefService& pref_service) {}

void SetDebugStreamData(const DebugStreamData& data,
                        PrefService& pref_service) {}

void SetRequestSchedule(RefreshTaskId task_id,
                        const RequestSchedule& schedule,
                        PrefService& pref_service) {}

RequestSchedule GetRequestSchedule(RefreshTaskId task_id,
                                   PrefService& pref_service) {}

void SetPersistentMetricsData(const PersistentMetricsData& data,
                              PrefService& pref_service) {}

PersistentMetricsData GetPersistentMetricsData(PrefService& pref_service) {}

std::string GetClientInstanceId(PrefService& pref_service) {}

void ClearClientInstanceId(PrefService& pref_service) {}

void SetWebFeedContentOrder(PrefService& pref_service,
                            ContentOrder content_order) {}

ContentOrder GetWebFeedContentOrder(const PrefService& pref_service) {}

}  // namespace prefs

}  // namespace feed