commit | 0155acba99c2fee96a227607eb6bc2b1f49bd16a | [log] [tgz] |
---|---|---|
author | Bill Budge <bbudge@chromium.org> | Thu Aug 16 16:27:02 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Aug 16 16:27:02 2018 |
tree | 1f6cee5162d98fda742fd87d67a66e89f00be495 | |
parent | 92ed116d146e6c5e6e7ef462b6d2dcf6abdc6710 [diff] |
[blink] Only create metadata handler for document RawResources. - RawResource is used for several non-text resources, as well as document resources. The cached metadata handling has been set up for a document's inline scripts. This makes it difficult to cache metadata properly for other RawResources, such as WebAssembly modules. This change only creates SourceKeyedMetadataHandler for RawResources whose type is kMainResource. - Renames RawResource::CacheHandler to InlineScriptCacheHandler so it doesn't hide the Resource::CacheHandler method, and so we can later add other kinds of metadata handlers. Bug: chromium:719172 Change-Id: I53f361a0df48dc9d73780971e3408dfff08de518 Reviewed-on: https://chromium-review.googlesource.com/1173496 Reviewed-by: Yutaka Hirano <yhirano@chromium.org> Reviewed-by: Kouhei Ueno <kouhei@chromium.org> Reviewed-by: Hiroshige Hayashizaki <hiroshige@chromium.org> Commit-Queue: Bill Budge <bbudge@chromium.org> Cr-Commit-Position: refs/heads/master@{#583684}
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 .