Commit 3dd7f8a1 authored by dominicc@chromium.org's avatar dominicc@chromium.org

Export WebSecurityOrigin's secure origin check.

Service Worker needs to enforce the
canAccessFeatureRequiringSecureOrigin check in
content/browser. Exporting the symbol so the embedder can link to
it. This is follow-up to r179341.

BUG=362214

Review URL: https://codereview.chromium.org/452793002

git-svn-id: svn://svn.chromium.org/blink/trunk@179843 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 5df426e8
...@@ -88,7 +88,7 @@ public: ...@@ -88,7 +88,7 @@ public:
// cryptographically-authenticated server. // cryptographically-authenticated server.
// //
// [1] http://www.chromium.org/Home/chromium-security/security-faq#TOC-Which-origins-are-secure- // [1] http://www.chromium.org/Home/chromium-security/security-faq#TOC-Which-origins-are-secure-
bool canAccessFeatureRequiringSecureOrigin(WebString& errorMessage) const; BLINK_EXPORT bool canAccessFeatureRequiringSecureOrigin(WebString& errorMessage) const;
// Returns a string representation of the WebSecurityOrigin. The empty // Returns a string representation of the WebSecurityOrigin. The empty
// WebSecurityOrigin is represented by "null". The representation of a // WebSecurityOrigin is represented by "null". The representation of a
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment