chromium/chrome/browser/ui/performance_controls/memory_saver_utils.cc

// Copyright 2023 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/ui/performance_controls/memory_saver_utils.h"

#include "base/check_op.h"
#include "base/containers/contains.h"
#include "chrome/browser/performance_manager/public/user_tuning/user_performance_tuning_manager.h"
#include "components/performance_manager/public/user_tuning/prefs.h"
#include "content/public/common/url_constants.h"

namespace memory_saver {

bool IsURLSupported(GURL url) {}

std::optional<::mojom::LifecycleUnitDiscardReason> GetDiscardReason(
    content::WebContents* contents) {}

int64_t GetDiscardedMemorySavingsInBytes(content::WebContents* contents) {}

}  // namespace memory_saver