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

Side by Side Diff: third_party/WebKit/Source/core/testing/WorkerInternals.cpp

Issue 2340323002: Add Origin Trials Test interface, rather than attaching trials directly to internals. (Closed)
Patch Set: Updates Created 4 years, 3 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 unified diff | Download patch
OLDNEW
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/testing/WorkerInternals.h ('k') | third_party/WebKit/Source/core/testing/WorkerInternals.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698