feat: enable code cache for custom protocols (#40544)

This commit is contained in:
Cheng Zhao 2023-12-06 11:22:41 +09:00 committed by GitHub
parent 85bc005cd6
commit 9aa73abe78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 526 additions and 6 deletions

View file

@ -22,7 +22,8 @@ class ProtocolRegistry;
namespace api {
std::vector<std::string> GetStandardSchemes();
const std::vector<std::string>& GetStandardSchemes();
const std::vector<std::string>& GetCodeCacheSchemes();
void AddServiceWorkerScheme(const std::string& scheme);