• Martin Kreichgauer's avatar
    fido/mac: extract a PlatformCredentialStore interface · dc479516
    Martin Kreichgauer authored
    This wraps the existing CountWebAuthnCredentials and
    DeleteWebAuthnCredentials functions in a new interface called
    PlatformCredentialStore. The Touch ID implementation of the interface
    encapsulates the |metadata_secret| and |keychain_access_group|
    parameters that currently have to be fetched from the Profile and passed
    explicitly. This will allow us to not leak this implementation detail
    into the browsing data deletion code.
    
    This also moves the existing TouchIdAuthenticatorConfig struct from
    //content into //device/fido/mac, so that it can be passed as the ctor
    argument to the credential store.
    
    This is only a structural change. No functional changes intended.
    
    Change-Id: I4eda36d82c80fa13a91f5ce5e508f4a23803574f
    Reviewed-on: https://chromium-review.googlesource.com/1242400Reviewed-by: default avatarBalazs Engedy <engedy@chromium.org>
    Reviewed-by: default avatarJoshua Bell <jsbell@chromium.org>
    Reviewed-by: default avatarAlex Moshchuk <alexmos@chromium.org>
    Commit-Queue: Martin Kreichgauer <martinkr@google.com>
    Cr-Commit-Position: refs/heads/master@{#595931}
    dc479516
authenticator_config.h 1014 Bytes