Repository navigation
[core] Final preparations for OfflineFileSource - #3675
jfirebaugh wants to merge 3 commits into
Conversation
There was a problem hiding this comment.
There was a problem hiding this comment.
I don't think we want to add a gtest.h dependency to non-test headers. I tried various permutations of friend class Storage; and forward declarations but couldn't it to work.
There was a problem hiding this comment.
We could either add forward declarations in the global namespace, and use friend class ::Storage_Foo_Test or something like this:
#ifdef GTEST_TEST
public:
#else
private:
#endifThis results in OnlineFileSource containing precisely the logic we want for reuse by OfflineFileSource, and no more.
9731d99 to
a52c5d8
Compare
|
I believe 31dd6e7 makes |
This isn't quite true. Tile URLs still contain embedded access tokens. This will cease to be an issue once we cache tiles by TileID rather than URL. |
...can we come up with a |
|
Going to cut a fresh offline PR. |
This results in
OnlineFileSourcecontaining precisely the logic we want for reuse byOfflineFileSource(which needs access to aFileSourcefrom which to download), and no more.👀 @kkaefer