Index: third_party/WebKit/Source/core/testing/WorkerInternals.h |
diff --git a/third_party/WebKit/Source/core/testing/WorkerInternals.h b/third_party/WebKit/Source/core/testing/WorkerInternals.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8ff28584f8e5a0113265a17a2757f2a5edade293 |
--- /dev/null |
+++ b/third_party/WebKit/Source/core/testing/WorkerInternals.h |
@@ -0,0 +1,27 @@ |
+// Copyright 2016 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef WorkerInternals_h |
+#define WorkerInternals_h |
+ |
+#include "bindings/core/v8/ScriptState.h" |
+#include "bindings/core/v8/ScriptWrappable.h" |
+#include "platform/heap/GarbageCollected.h" |
+ |
+namespace blink { |
+ |
+class WorkerInternals final : public GarbageCollectedFinalized<WorkerInternals>, public ScriptWrappable { |
+ DEFINE_WRAPPERTYPEINFO(); |
+public: |
+ static WorkerInternals* create(ScriptState*); |
+ virtual ~WorkerInternals(); |
+ |
+ DEFINE_INLINE_TRACE() {} |
+private: |
+ explicit WorkerInternals(ScriptState*); |
+}; |
+ |
+} // namespace blink |
+ |
+#endif // WorkerInternals_h |