Chromium Code Reviews| Index: Source/core/testing/PrivateScriptTest.h |
| diff --git a/Source/core/testing/PrivateScriptTest.h b/Source/core/testing/PrivateScriptTest.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..666212232aaa60c184a42b4fbcfc087f2fb27856 |
| --- /dev/null |
| +++ b/Source/core/testing/PrivateScriptTest.h |
| @@ -0,0 +1,28 @@ |
| +// Copyright 2014 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 PrivateScriptTest_h |
| +#define PrivateScriptTest_h |
| + |
| +#include "platform/heap/Handle.h" |
| +#include "wtf/RefCounted.h" |
| + |
| +namespace WebCore { |
| + |
| +class PrivateScriptTest : public RefCountedWillBeGarbageCollected<PrivateScriptTest> { |
|
abarth-chromium
2014/07/07 16:03:47
Why not just GarbageCollected?
|
| +public: |
| + static PassRefPtrWillBeRawPtr<PrivateScriptTest> create() |
| + { |
| + return adoptRefWillBeNoop(new PrivateScriptTest()); |
| + } |
| + |
| + void trace(Visitor*) { } |
| + |
| +private: |
| + PrivateScriptTest() { } |
| +}; |
| + |
| +} // namespace WebCore |
| + |
| +#endif |