diff options
author | michaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-06 03:13:40 +0000 |
---|---|---|
committer | michaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-06 03:13:40 +0000 |
commit | 8022ed59d498755730a7c2d290596b48458b4f62 (patch) | |
tree | 8dbb5ceacf44cdbfb642f8a2b0c8264da7ae16f8 /content/browser/browser_plugin/browser_plugin_embedder.cc | |
parent | aac7bba382b851f42d2219bfd780d80ed9f2becc (diff) | |
download | chromium_src-8022ed59d498755730a7c2d290596b48458b4f62.zip chromium_src-8022ed59d498755730a7c2d290596b48458b4f62.tar.gz chromium_src-8022ed59d498755730a7c2d290596b48458b4f62.tar.bz2 |
ServiceWorker script cache reading
The ContextRequestHandler figures out whether to read, write, or do nothing with
the version's script cache. The ReadFromCacheJob does just that when the handler
makes the decision to read. The ServiceWorkerVersion maintains a collection of
<urls, responseids> that are in its script cache (to be stored with the
registration data).
The rest of the cl is groundwork to reuse the DiskCache componentry of the
appcache library in this context. The DiskCache instance is an in memory only
instance for now.
Note that since nothing is ever written to this cache yet the read code paths are not reachable yet, so there should be no behavior change.
BUG=364321
Review URL: https://codereview.chromium.org/258743002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@268390 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/browser_plugin/browser_plugin_embedder.cc')
0 files changed, 0 insertions, 0 deletions