chromium/chrome/browser/resource_coordinator/tab_manager_features.cc

// Copyright 2017 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/resource_coordinator/tab_manager_features.h"

#include "base/metrics/field_trial_params.h"
#include "chrome/common/chrome_features.h"

namespace {

constexpr char kTabLoadTimeoutInMsParameterName[] =;

}  // namespace

namespace features {

// Enables using customized value for tab load timeout. This is used by session
// restore in finch experiment to see what timeout value is better. The default
// timeout is used when this feature is disabled.
BASE_FEATURE();

// Enables using the Tab Ranker to score tabs for discarding instead of relying
// on last focused time.
BASE_FEATURE();

}  // namespace features

namespace resource_coordinator {

base::TimeDelta GetTabLoadTimeout(const base::TimeDelta& default_timeout) {}

int GetNumOldestTabsToScoreWithTabRanker() {}

int GetProcessTypeToScoreWithTabRanker() {}

int GetNumOldestTabsToLogWithTabRanker() {}

bool DisableBackgroundLogWithTabRanker() {}

float GetDiscardCountPenaltyTabRanker() {}

float GetMRUScorerPenaltyTabRanker() {}

int GetScorerTypeForTabRanker() {}

}  // namespace resource_coordinator