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

Unified Diff: third_party/WebKit/Source/core/dom/Document.h

Issue 1504403003: Calling isSecureContext() with no arguments (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Small refactoring to isSecureContext() calls Created 5 years 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 | « AUTHORS ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index e4af2d668ac3ceec0542bae0da93112f749382a7..79333fdba1d2a483044cad280776dd9c11ccf423 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -1021,6 +1021,7 @@ public:
NthIndexCache* nthIndexCache() const { return m_nthIndexCache; }
bool isSecureContext(String& errorMessage, const SecureContextCheck = StandardSecureContextCheck) const override;
+ bool isSecureContext(const SecureContextCheck = StandardSecureContextCheck) const override;
ClientHintsPreferences& clientHintsPreferences() { return m_clientHintsPreferences; }
@@ -1105,6 +1106,7 @@ private:
bool childTypeAllowed(NodeType) const final;
PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep) final;
void cloneDataFromDocument(const Document&);
+ bool isSecureContextImpl(String* errorMessage, const SecureContextCheck priviligeContextCheck) const;
#if !ENABLE(OILPAN)
void refExecutionContext() final { ref(); }
« no previous file with comments | « AUTHORS ('k') | third_party/WebKit/Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698