summaryrefslogtreecommitdiff
path: root/include/mbgl/storage/online_file_source.hpp
Commit message (Collapse)AuthorAgeFilesLines
* [test] add ability to take the OnlineFileSource offlineKonstantin Käfer2017-09-221-0/+3
| | | | This functionality is used for testing to ensure correct offline behavior when connectivity is missing.
* [core] Use the ResourceTransform instead of callbacksThiago Marcos P. Santos2017-06-261-3/+5
| | | | | Based on the actor model, can be considered safer to use since we don't need to worry about object lifetime anymore.
* [core] add ability to transform URLs before they're requested from the InternetKonstantin Käfer2017-02-201-0/+4
|
* [core] remove trailing whitespace, add trailing newlines, add space after //Konstantin Käfer2017-01-271-1/+1
|
* [core] [android] - public api configurable base endpoint (#6309)Tobrun2016-09-151-0/+5
| | | add runloop to test
* [core] use #pragma once instead of ifdef include guardsKonstantin Käfer2016-05-251-4/+1
|
* [core] Remove internal threading from OnlineFileRequestJohn Firebaugh2016-04-141-6/+2
| | | | There's no need to do the work that OnlineFileRequest does on a separate thread from the DefaultFileSource thread, and having AsyncTasks proxy to other tasks across a thread boundary adds needless complexity.
* [core] Unify FileRequest and WorkRequestJohn Firebaugh2016-03-241-1/+1
|
* [core] Make {Default,Online}FileSource::Impl more similarJohn Firebaugh2016-02-101-3/+0
|
* [core] Moving caching logic to DefaultFileSourceJohn Firebaugh2016-02-101-3/+1
| | | | This results in OnlineFileSource containing precisely the logic we want for reuse by OfflineFileSource, and no more.
* [core] Eliminate FileCache interfaceJohn Firebaugh2016-01-141-2/+3
| | | | There is only one implementation and we're unlikely to add more.
* [core] Remove request coalescing in OnlineFileSourceJohn Firebaugh2016-01-131-1/+1
|
* [core] Simplify asset:// implementationJohn Firebaugh2016-01-131-1/+1
| | | | | | | | * 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.
* [core] Refactor to instance methods on OnlineFileRequestImplJohn Firebaugh2016-01-131-0/+2
|
* [tests] Test with OnlineFileSourceJohn Firebaugh2015-12-231-0/+34
When we introduce OfflineFileSource, the behavior of existing tests should not change.