| Index: third_party/WebKit/Source/platform/weborigin/OriginAccessEntry.h
|
| diff --git a/third_party/WebKit/Source/platform/weborigin/OriginAccessEntry.h b/third_party/WebKit/Source/platform/weborigin/OriginAccessEntry.h
|
| index 42fb55a112d348b22d6972d452b812b5e907e769..89f084ca2b18cb1a46e07a4563344367c43d4857 100644
|
| --- a/third_party/WebKit/Source/platform/weborigin/OriginAccessEntry.h
|
| +++ b/third_party/WebKit/Source/platform/weborigin/OriginAccessEntry.h
|
| @@ -60,14 +60,16 @@ class PLATFORM_EXPORT OriginAccessEntry {
|
| DoesNotMatchOrigin
|
| };
|
|
|
| - // If host is empty string and SubdomainSetting is not DisallowSubdomains, the entry will match all domains in the specified protocol.
|
| - // IPv6 addresses must include brackets (e.g. '[2001:db8:85a3::8a2e:370:7334]', not '2001:db8:85a3::8a2e:370:7334').
|
| + // If host is empty string and SubdomainSetting is not DisallowSubdomains, the
|
| + // entry will match all domains in the specified protocol.
|
| + // IPv6 addresses must include brackets (e.g.
|
| + // '[2001:db8:85a3::8a2e:370:7334]', not '2001:db8:85a3::8a2e:370:7334').
|
| OriginAccessEntry(const String& protocol,
|
| const String& host,
|
| SubdomainSetting);
|
|
|
| - // 'matchesOrigin' requires a protocol match (e.g. 'http' != 'https'). 'matchesDomain'
|
| - // relaxes this constraint.
|
| + // 'matchesOrigin' requires a protocol match (e.g. 'http' != 'https').
|
| + // 'matchesDomain' relaxes this constraint.
|
| MatchResult matchesOrigin(const SecurityOrigin&) const;
|
| MatchResult matchesDomain(const SecurityOrigin&) const;
|
|
|
|
|