• rdevlin.cronin's avatar
    [Extensions Bindings] Move directory util out of runtime_custom_bindings · e7369ba0
    rdevlin.cronin authored
    The chrome.runtime API has a method called `getPackageDirectoryEntry`
    which has custom bindings to retrieve the app's directory entry (a la
    HTML5 filesystem) and return it. The custom bindings for this are
    quite strange, since it needs to be done from the app's background
    page.
    
    Move this to the file_entry_binding_util.js file, where the similar
    getFileBindingsForApi() function is implemented. In addition to grouping
    similar logic, this solves a native bindings issue where with trying to
    require an API directly (which is disallowed).
    
    BUG=653596
    TBR=michaelpg@chromium.org (moving a resource)
    
    Review-Url: https://codereview.chromium.org/2895493004
    Cr-Commit-Position: refs/heads/master@{#473977}
    e7369ba0
dispatcher.cc 61.2 KB