chromium/chrome/browser/performance_manager/user_tuning/profile_discard_opt_out_list_helper.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/performance_manager/user_tuning/profile_discard_opt_out_list_helper.h"

#include <vector>

#include "base/feature_list.h"
#include "base/not_fatal_until.h"
#include "base/ranges/algorithm.h"
#include "base/values.h"
#include "chrome/browser/performance_manager/policies/page_discarding_helper.h"
#include "chrome/browser/profiles/profile.h"
#include "components/performance_manager/public/features.h"
#include "components/performance_manager/public/performance_manager.h"
#include "components/performance_manager/public/user_tuning/prefs.h"
#include "components/prefs/pref_service.h"
#include "components/url_matcher/url_matcher.h"
#include "components/user_prefs/user_prefs.h"
#include "url/gurl.h"

namespace performance_manager::user_tuning {
namespace {

class ProfileDiscardOptOutListHelperDelegateImpl
    : public ProfileDiscardOptOutListHelper::Delegate {};

}  // namespace

ProfileDiscardOptOutListHelper::ProfileDiscardOptOutTracker::
    ProfileDiscardOptOutTracker(const std::string& browser_context_id,
                                PrefService* pref_service,
                                Delegate* delegate)
    :{}

ProfileDiscardOptOutListHelper::ProfileDiscardOptOutTracker::
    ~ProfileDiscardOptOutTracker() {}

void ProfileDiscardOptOutListHelper::ProfileDiscardOptOutTracker::
    OnOptOutListChanged() {}

ProfileDiscardOptOutListHelper::ProfileDiscardOptOutListHelper(
    std::unique_ptr<Delegate> delegate)
    :{}

ProfileDiscardOptOutListHelper::~ProfileDiscardOptOutListHelper() = default;

void ProfileDiscardOptOutListHelper::OnProfileAdded(Profile* profile) {}

void ProfileDiscardOptOutListHelper::OnProfileWillBeRemoved(Profile* profile) {}

void ProfileDiscardOptOutListHelper::OnProfileAddedImpl(
    const std::string& browser_context_id,
    PrefService* pref_service) {}

void ProfileDiscardOptOutListHelper::OnProfileWillBeRemovedImpl(
    const std::string& browser_context_id) {}

}  // namespace performance_manager::user_tuning