summaryrefslogtreecommitdiff
path: root/platform/default/asset_file_source.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Rework invokeWithCallback so that the callback is lastJohn Firebaugh2016-09-081-1/+1
|
* [core] Make the AssetFileSource thread low priorityThiago Marcos P. Santos2016-07-161-1/+1
|
* [tidy] Check modernize-pass-by-valueBruno de Oliveira Abinader2016-06-131-2/+2
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html
* [core] Clean up ThreadContext vestigesJohn Firebaugh2016-04-151-1/+1
|
* [core] Unify FileRequest and WorkRequestJohn Firebaugh2016-03-241-11/+2
|
* [core] Eliminate platform::assetRoot()John Firebaugh2016-01-131-1/+1
| | | | I regenerated assets.zip so that all file paths have an `assets/` prefix, as the Android AssetFileSource implementation asserts, and removed `TEST_DATA` from the paths.
* [core] Simplify asset:// implementationJohn Firebaugh2016-01-131-0/+79
* Move asset:// URL handling to DefaultFileSource. * AssetFileSource implements FileSource interface and follows familiar implementation patterns. * Move default implementation to platform/default, zip implementation to platform/android. * Don't bother with modified / expires / etag -- assets are not cached so it doesn't matter. * Don't bother with interleaving individual IO calls on the implementation thread. That adds a lot of complexity for very little benefit.