chromium/chrome/android/features/keyboard_accessory/internal/java/src/org/chromium/chrome/browser/keyboard_accessory/all_passwords_bottom_sheet/CredentialFillRequest.java

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

package org.chromium.chrome.browser.keyboard_accessory.all_passwords_bottom_sheet;

/** This class holds the data used to pass a fill request. */
class CredentialFillRequest {
    private final Credential mCredential;
    private final boolean mRequestsToFillPassword;

    CredentialFillRequest(Credential credential, boolean requestsToFillPassword) {
        mCredential = credential;
        mRequestsToFillPassword = requestsToFillPassword;
    }

    Credential getCredential() {
        return mCredential;
    }

    boolean getRequestsToFillPassword() {
        return mRequestsToFillPassword;
    }
}