Chromium Code Reviews| 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 4cdc68aa2807f85c0f11966e73c31e3947fa1ba1..cbd8df309c460c0502f047ff361a3a3f1827bd8d 100644 |
| --- a/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h |
| +++ b/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h |
| @@ -250,6 +250,8 @@ public: |
| PassOwnPtr<PrivilegeData> createPrivilegeData() const; |
| void transferPrivilegesFrom(PassOwnPtr<PrivilegeData>); |
| + void setUniqueOriginIsPotentiallyTrustworthy(bool isUniqueOriginPotentiallyTrustworthy) { m_isUniqueOriginPotentiallyTrustworthy = isUniqueOriginPotentiallyTrustworthy; } |
|
alexmos
2016/03/09 18:45:06
Would it make sense to also assert here that the o
estark
2016/03/10 00:53:44
Done.
|
| + |
| private: |
| friend class SecurityOriginTest; |
| FRIEND_TEST_ALL_PREFIXES(SecurityOriginTest, Suborigins); |
| @@ -277,6 +279,7 @@ private: |
| bool m_domainWasSetInDOM; |
| bool m_canLoadLocalResources; |
| bool m_blockLocalAccessFromLocalOrigin; |
| + bool m_isUniqueOriginPotentiallyTrustworthy; |
| }; |
| } // namespace blink |