PolymerLabs / arcs

Arcs
BSD 3-Clause "New" or "Revised" License
56 stars 35 forks source link

Fully implement serialization of short-form storage key protocols. #7096

Closed copybara-service[bot] closed 3 years ago

copybara-service[bot] commented 3 years ago

Fully implement serialization of short-form storage key protocols.

e.g. Instead of ramdisk://abc it is now r|abc

Updated lots of tests to be parameterized based on the STORAGE_KEY_REDUCTION flag. Had to introduce a temporary variable to make assertions that hardcode the protocol work with both versions of the flag. Should be easy to clean up again later.