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

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

Issue 2260113002: Lazily install origin trial features on V8 objects (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase after parent CL landed Created 4 years, 3 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 255f3917929d7ec3cfb223708b60f972c75f46ba..2e25cc2690ec0b65e60c72854ed5fbb51f8a7874 100644
--- a/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.h
+++ b/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.h
@@ -31,12 +31,17 @@
// ...but this file is used in cases where we don't have V8 (e.g., Skia)
namespace v8 {
class Context;
+class Function;
+class Isolate;
+class Object;
class Value;
template <class T> class Local;
}
namespace blink {
class ScriptState;
+class DOMWrapperWorld;
+struct WrapperTypeInfo;
}
namespace WebCoreTestSupport {
@@ -44,7 +49,7 @@ namespace WebCoreTestSupport {
v8::Local<v8::Value> createInternalsObject(v8::Local<v8::Context>);
void injectInternalsObject(v8::Local<v8::Context>);
void resetInternalsObject(v8::Local<v8::Context>);
-void installOriginTrialsForTests(blink::ScriptState*);
+void installConditionalFeaturesForTests(const blink::WrapperTypeInfo*, const blink::ScriptState*, v8::Local<v8::Object> prototypeObject, v8::Local<v8::Function> interfaceObject);
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698