OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "core/testing/WorkerInternals.h" | 5 #include "core/testing/WorkerInternals.h" |
6 | 6 |
| 7 #include "core/testing/OriginTrialsTest.h" |
| 8 |
7 namespace blink { | 9 namespace blink { |
8 | 10 |
9 // static | 11 // static |
10 WorkerInternals* WorkerInternals::create(ScriptState* scriptState) | 12 WorkerInternals* WorkerInternals::create(ScriptState* scriptState) |
11 { | 13 { |
12 return new WorkerInternals(scriptState); | 14 return new WorkerInternals(scriptState); |
13 } | 15 } |
14 | 16 |
15 WorkerInternals::~WorkerInternals() | 17 WorkerInternals::~WorkerInternals() |
16 { | 18 { |
17 } | 19 } |
18 | 20 |
19 WorkerInternals::WorkerInternals(ScriptState*) | 21 WorkerInternals::WorkerInternals(ScriptState*) |
20 { | 22 { |
21 } | 23 } |
22 | 24 |
| 25 OriginTrialsTest* WorkerInternals::originTrialsTest() const |
| 26 { |
| 27 return OriginTrialsTest::create(); |
| 28 } |
| 29 |
23 } // namespace blink | 30 } // namespace blink |
OLD | NEW |