| 63 | constexpr string_view kHttps{"https://"}; |
| 64 | |
| 65 | size_t GetProtocolNameLength(string const & website) |
| 66 | { |
| 67 | if (website.starts_with(kHttps)) |
| 68 | return kHttps.size(); |
| 69 | if (website.starts_with(kHttp)) |
| 70 | return kHttp.size(); |
| 71 | return 0; |
| 72 | } |
| 73 | |
| 74 | bool IsProtocolSpecified(string const & website) |
| 75 | { |
no test coverage detected