| Index: third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp
|
| diff --git a/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp b/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp
|
| index e7012fddde34d3dcb282ed483bf29ac35a3bc28d..4c92d2bee1fb280b7384596e47472ca474fef906 100644
|
| --- a/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp
|
| +++ b/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp
|
| @@ -359,6 +359,15 @@ bool SecurityOrigin::isPotentiallyTrustworthy() const
|
| return false;
|
| }
|
|
|
| +bool SecurityOrigin::isPotentiallyTrustworthy(String* errorMessage) const
|
| +{
|
| + if (isPotentiallyTrustworthy())
|
| + return true;
|
| + if (errorMessage)
|
| + *errorMessage = isPotentiallyTrustworthyErrorMessage();
|
| + return false;
|
| +}
|
| +
|
| // static
|
| String SecurityOrigin::isPotentiallyTrustworthyErrorMessage()
|
| {
|
|
|