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

Unified Diff: public/web/WebDocument.h

Issue 1136883003: Expose Document::isPrivilegedContext from WebDocument (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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
« Source/web/WebDocument.cpp ('K') | « Source/web/WebDocument.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebDocument.h
diff --git a/public/web/WebDocument.h b/public/web/WebDocument.h
index c4d96b27aa625dc7eb9e59035eedd9b58a130bdc..16cc322e5fdb2e2d35091f841fcbc85c22715b68 100644
--- a/public/web/WebDocument.h
+++ b/public/web/WebDocument.h
@@ -76,6 +76,7 @@ public:
BLINK_EXPORT WebURL url() const;
// Note: Security checks should use the securityOrigin(), not url().
BLINK_EXPORT WebSecurityOrigin securityOrigin() const;
+ BLINK_EXPORT bool isPrivilegedContext(WebString& errorMessage);
BLINK_EXPORT WebString encoding() const;
BLINK_EXPORT WebString contentLanguage() const;
« Source/web/WebDocument.cpp ('K') | « Source/web/WebDocument.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698