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

Unified Diff: third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.h

Issue 2005433002: [Origin Trials] Install origin trial bindings on V8 context conditionally (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@track-ef-install
Patch Set: Switch to using ScriptState instead of explicit context/world Created 4 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
Index: third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.h
diff --git a/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.h b/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.h
index 068dbac782b7a73a968df5dba336839a880d3506..2fcc3f467028fb1116be2d3e1c614081a5895ce5 100644
--- a/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.h
+++ b/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.h
@@ -35,11 +35,16 @@ class Value;
template <class T> class Local;
}
+namespace blink {
+class ScriptState;
+}
+
namespace WebCoreTestSupport {
v8::Local<v8::Value> createInternalsObject(v8::Local<v8::Context>);
void injectInternalsObject(v8::Local<v8::Context>);
void resetInternalsObject(v8::Local<v8::Context>);
+void initializeOriginTrialsForTests(blink::ScriptState*);
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698