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

Unified Diff: third_party/WebKit/Source/core/testing/NullExecutionContext.h

Issue 1743623002: [Experimental Framework] Make the OriginTrialContext a member of ExecutionContext (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 9 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
Index: third_party/WebKit/Source/core/testing/NullExecutionContext.h
diff --git a/third_party/WebKit/Source/core/testing/NullExecutionContext.h b/third_party/WebKit/Source/core/testing/NullExecutionContext.h
index 9883edf4b8dab7d4fe7b7696e9c8b2f0d49cf069..9f88e8c70583a206f22c1cda0833cb81d6f9c460 100644
--- a/third_party/WebKit/Source/core/testing/NullExecutionContext.h
+++ b/third_party/WebKit/Source/core/testing/NullExecutionContext.h
@@ -40,6 +40,7 @@ public:
void addConsoleMessage(PassRefPtrWillBeRawPtr<ConsoleMessage>) override { }
void logExceptionToConsole(const String& errorMessage, int scriptId, const String& sourceURL, int lineNumber, int columnNumber, PassRefPtr<ScriptCallStack>) override { }
+ void setIsSecureContext(bool);
bool isSecureContext(String& errorMessage, const SecureContextCheck = StandardSecureContextCheck) const override;
DEFINE_INLINE_TRACE()
@@ -63,6 +64,7 @@ protected:
private:
bool m_tasksNeedSuspension;
+ bool m_isSecureContext;
OwnPtrWillBeMember<EventQueue> m_queue;
KURL m_dummyURL;

Powered by Google App Engine
This is Rietveld 408576698