| Index: third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h
|
| diff --git a/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h b/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h
|
| index 56b48a778270c107ca0f836f7f4e17d2c047430a..77ca58644701664826dd46e7ffd6731f148e56ed 100644
|
| --- a/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h
|
| +++ b/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h
|
| @@ -269,6 +269,10 @@ class PLATFORM_EXPORT SecurityOrigin : public RefCounted<SecurityOrigin> {
|
| void setUniqueOriginIsPotentiallyTrustworthy(
|
| bool isUniqueOriginPotentiallyTrustworthy);
|
|
|
| + // Only used for document.domain setting. The method should probably be moved
|
| + // if we need it for something more general.
|
| + static String canonicalizeHost(const String& host, bool* success);
|
| +
|
| private:
|
| friend class SecurityOriginTest;
|
| FRIEND_TEST_ALL_PREFIXES(SecurityOriginTest, Suborigins);
|
|
|