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

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

Issue 1915373002: Implement empty WorkerInternals interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@trials-in-service-workers
Patch Set: nit 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/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
« no previous file with comments | « third_party/WebKit/Source/core/core_generated.gypi ('k') | third_party/WebKit/Source/core/testing/WorkerInternals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698