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

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

Issue 2640823004: Allow origin trials to be enabled by script (Closed)
Patch Set: Add tracking of installed features Created 3 years, 11 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 4e86349c978720292b3d5c36b3abb35cdda00625..1167a9ba53845f508e99a966b91a9641b71ff2f1 100644
--- a/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.h
+++ b/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.h
@@ -26,12 +26,14 @@
#ifndef WebCoreTestSupport_h
#define WebCoreTestSupport_h
+#include "wtf/HashSet.h"
+#include "wtf/text/WTFString.h"
#include <v8.h>
namespace blink {
class ScriptState;
struct WrapperTypeInfo;
-}
+} // namespace blink
namespace WebCoreTestSupport {
@@ -42,7 +44,12 @@ void installConditionalFeaturesForTests(
const blink::ScriptState*,
v8::Local<v8::Object> prototypeObject,
v8::Local<v8::Function> interfaceObject);
-
-} // namespace blink
+bool installConditionalFeaturesIfNeededForTests(const blink::WrapperTypeInfo*,
+ const blink::ScriptState*);
+void getAffectedTypesForConditionalFeatureForTests(
+ const String&,
+ HashSet<const blink::WrapperTypeInfo*>*);
+void registerInstallConditionalFeaturesForTests();
+} // namespace WebCoreTestSupport
#endif

Powered by Google App Engine
This is Rietveld 408576698