0

Add access restrictions for url::SchemeHostPort

The fields should be private.

Change-Id: Ie9849363feb3f5f667f0ff423a0c4ba9a37ec976
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5703108
Reviewed-by: Will Harris <wfh@chromium.org>
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1327100}
This commit is contained in:
Daniel Cheng
2024-07-13 01:26:57 +00:00
committed by Chromium LUCI CQ
parent 2238ee9cf4
commit 550e87b3f4

@ -167,6 +167,7 @@ class COMPONENT_EXPORT(URL) SchemeHostPort {
std::string SerializeInternal(url::Parsed* parsed) const;
private:
std::string scheme_;
std::string host_;
uint16_t port_ = 0;