• tbarzic's avatar
    Make PrinterProviderAPI a pure interface · 1378bc38
    tbarzic authored
    This makes PrinterProviderAPI a pure interface, with the
    implementation hidden in printer_provider.cc, and with a custom browser
    context keyed service factory. This will make it easier to inject a
    fake API implementation in tests (e.g. for ExtensionPrinterHandler).
    
    BUG=461114
    TEST=extensions_browsertests --gtest_filter=PrinterProviderAPI
    
    Review URL: https://codereview.chromium.org/922833004
    
    Cr-Commit-Position: refs/heads/master@{#318124}
    1378bc38
printer_provider_api.h 2.63 KB