| 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 d789b9ec22da9015f680dce64ea28965b3015a26..54d9e6d979247ebe80ecd613a6af36bf18fbd953 100644
|
| --- a/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h
|
| +++ b/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h
|
| @@ -265,6 +265,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);
|
|
|