Make QuicMemoryCacheBackend::InitializedBackend correctly support Windows paths. This method attempts to turn file system paths into URL host/path. It does so by looking for '/' characters explicitly but that's not the path separator on windows. It's '\\'. This change replaces all '\\' characters in the path with '/' before parsing.
Technically it's possible that on non-windows platforms some filename might actually contain a '\\' character, but since this is a toy tool I think we don't need to worry about that case.
gfe-relnote: Not used in the GFE
PiperOrigin-RevId: 285334250
Change-Id: I68925dd2272e52df023f3f98ce0878dc6021943e
2 files changed