chromium/chrome/browser/tabmodel/android/java/src/org/chromium/chrome/browser/tabmodel/TabModelFilterFactory.java

// 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.

package org.chromium.chrome.browser.tabmodel;

/** A factory that creates {@link TabModelFilter} instances for {@link TabModel}s. */
public interface TabModelFilterFactory {
    /**
     * @param model The {@link TabModel} to serve as base for the new filter.
     * @return A new {@link TabModelFilter} for {@code model}.
     */
    TabModelFilter createTabModelFilter(TabModel model);
}