Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Unified Diff: third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h

Issue 1723753002: Make Document::isSecureContext() work for OOPIFs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more rebase fixups Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..af13d6c3bfa12ae0255258048a5d00fcdb868fdc 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);
+
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

Powered by Google App Engine
This is Rietveld 408576698