• Daniel Bratell's avatar
    Gave three OnAcquireFileAccessPermissionDone their own names · 915cbbca
    Daniel Bratell authored
    In jumbo builds many cc files compile in the same translation
    unit and if that causes there to be overloaded functions,
    the address operator won't know what function's address the
    code refers to. This happens in base::Bind, and results
    in compilation failures.
    
    In preparation for jumbo in chrome/browser, this patch renames
    the three OnAcquireFileAccessPermissionDone to
    OnDownloadAcquireFileAccessPermissionDone
    OnThrottleAcquireFileAccessPermissionDone
    OnOfflinePageAcquireFileAccessPermissionDone
    
    Bug: 746957
    Change-Id: I6bd1fa44e9cc1ab44d9bdb653dd8117280ff9325
    Reviewed-on: https://chromium-review.googlesource.com/897943Reviewed-by: default avatarCathy Li <chili@chromium.org>
    Reviewed-by: default avatarDavid Trainor <dtrainor@chromium.org>
    Commit-Queue: Daniel Bratell <bratell@opera.com>
    Cr-Commit-Position: refs/heads/master@{#534197}
    915cbbca
download_resource_throttle.cc 4.84 KB