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

Unified Diff: Source/web/WebSecurityOrigin.cpp

Issue 428643007: Add WebSecurityOrigin::CanAccessFeatureRequiringSecureOrigin. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | public/web/WebSecurityOrigin.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebSecurityOrigin.cpp
diff --git a/Source/web/WebSecurityOrigin.cpp b/Source/web/WebSecurityOrigin.cpp
index b05afc7a5cb046e3d027eec39733fb15aa99a40e..22dda1d118d41608307d8a08de1a50fbfceb5fd8 100644
--- a/Source/web/WebSecurityOrigin.cpp
+++ b/Source/web/WebSecurityOrigin.cpp
@@ -110,6 +110,13 @@ bool WebSecurityOrigin::canRequest(const WebURL& url) const
return m_private->canRequest(url);
}
+bool WebSecurityOrigin::canAccessFeatureRequiringSecureOrigin(const WebString& errorMessage) const
+{
+ ASSERT(m_private);
+ WTF::String message(errorMessage);
jochen (gone - plz use gerrit) 2014/07/29 19:02:47 is this required? The WebString should be automati
+ return m_private->canAccessFeatureRequiringSecureOrigin(message);
+}
+
WebString WebSecurityOrigin::toString() const
{
ASSERT(m_private);
« no previous file with comments | « no previous file | public/web/WebSecurityOrigin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698