commit | ab18e5842ae0865027f626678bf44cc5ff4454a1 | [log] [tgz] |
---|---|---|
author | Ben Kelly <wanderview@chromium.org> | Sat Feb 16 04:03:25 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Feb 16 04:03:25 2019 |
tree | 1a0b64d2573ff9b9df0d83948ca084b4cafe753b | |
parent | d75d08fb4af53baa1e16d34c65c16210a378d413 [diff] |
CacheStorage: Always complete mojo operations through the same callback. Currently the CacheStorageDispatchingHost mojo implementations can invoke their callbacks via different code paths. For example, if the CacheStorageHandle has been invalidated then the mojo callback is called directly. In contrast, if the underlying operation was actually performed then a separate callback is first executed before calling the mojo callback. This CL makes all cases go through the intermediate callback before invoking the mojo callback. This gives us a common place to put histogram measurement and tracing code. Bug: 927537 Change-Id: Ic1f1fd6107566c64b653628121f136315b589cab Reviewed-on: https://chromium-review.googlesource.com/c/1474110 Reviewed-by: Daniel Murphy <dmurph@chromium.org> Commit-Queue: Ben Kelly <wanderview@chromium.org> Cr-Commit-Position: refs/heads/master@{#632898}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .