• Rohit Rao's avatar
    Updates PolicyConversionsClient to return a SchemaRegistry. · 2d7d300f
    Rohit Rao authored
    Previously the client interface returned a SchemaRegistryService, but
    that class was originally a KeyedService and is intended to be
    //chrome-specific.  I was planning to move it to //components and reuse
    it on iOS, but now I think it would be better to leave it as a
    //chrome-specific implementation and write a separate implementation for
    iOS.  The calling code only used the SchemaRegistryService to access its
    SchemaRegistry, so PolicyConversionsClient can simply return the
    SchemaRegistry directly instead.
    
    BUG=1027249
    
    Change-Id: I8e8a86c96c15cf509993c180aac219f290a7fba6
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2042191Reviewed-by: default avatarJulian Pastarmov <pastarmovj@chromium.org>
    Commit-Queue: Rohit Rao <rohitrao@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#738976}
    2d7d300f
policy_conversions_client.h 5.81 KB