chromium/chrome/test/android/javatests/src/org/chromium/chrome/browser/tab/MockTabAttributes.java

// Copyright 2021 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.tab;

import org.chromium.base.UserData;

/** Attributes associated with a {@link MockTab} */
public class MockTabAttributes implements UserData {
    public final boolean restoredFromDisk;

    /**
     * @param restoredFromDisk if {@link MockTab} was restored from disk
     */
    public MockTabAttributes(boolean restoredFromDisk) {
        this.restoredFromDisk = restoredFromDisk;
    }

    @Override
    public void destroy() {}
}