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 6b068837ec647ea9eac81f180e522aee260b27f9..6c7f8ea3a7b4c886275daae4982ab87ccc1c370a 100644 |
--- a/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h |
+++ b/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h |
@@ -141,6 +141,7 @@ public: |
// cryptographically-authenticated origin, as described in |
// https://w3c.github.io/webappsec/specs/powerfulfeatures/#is-origin-trustworthy. |
bool isPotentiallyTrustworthy() const; |
+ bool isPotentiallyTrustworthy(String* errorMessage) const; |
// Returns a human-readable error message describing that a non-secure origin's access to a feature is denied. |
static String isPotentiallyTrustworthyErrorMessage(); |