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

Side by Side Diff: third_party/WebKit/Source/bindings/core/v8/ScriptPromisePropertyTest.cpp

Issue 2848963002: Clean up bindings/core/v8 (Part 1) (Closed)
Patch Set: Fix build Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "bindings/core/v8/ScriptPromiseProperty.h" 5 #include "bindings/core/v8/ScriptPromiseProperty.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "bindings/core/v8/DOMWrapperWorld.h"
10 #include "bindings/core/v8/ScriptFunction.h" 9 #include "bindings/core/v8/ScriptFunction.h"
11 #include "bindings/core/v8/ScriptPromise.h" 10 #include "bindings/core/v8/ScriptPromise.h"
12 #include "bindings/core/v8/ScriptState.h" 11 #include "bindings/core/v8/ScriptState.h"
13 #include "bindings/core/v8/ScriptValue.h" 12 #include "bindings/core/v8/ScriptValue.h"
14 #include "bindings/core/v8/V8BindingForCore.h" 13 #include "bindings/core/v8/V8BindingForCore.h"
15 #include "bindings/core/v8/V8BindingForTesting.h" 14 #include "bindings/core/v8/V8BindingForTesting.h"
16 #include "bindings/core/v8/V8GCController.h" 15 #include "bindings/core/v8/V8GCController.h"
17 #include "core/dom/Document.h" 16 #include "core/dom/Document.h"
18 #include "core/testing/DummyPageHolder.h" 17 #include "core/testing/DummyPageHolder.h"
19 #include "core/testing/GCObservation.h" 18 #include "core/testing/GCObservation.h"
20 #include "core/testing/GarbageCollectedScriptWrappable.h" 19 #include "core/testing/GarbageCollectedScriptWrappable.h"
20 #include "platform/bindings/DOMWrapperWorld.h"
21 #include "platform/heap/Handle.h" 21 #include "platform/heap/Handle.h"
22 #include "platform/wtf/PassRefPtr.h" 22 #include "platform/wtf/PassRefPtr.h"
23 #include "platform/wtf/RefPtr.h" 23 #include "platform/wtf/RefPtr.h"
24 #include "testing/gtest/include/gtest/gtest.h" 24 #include "testing/gtest/include/gtest/gtest.h"
25 #include "v8/include/v8.h" 25 #include "v8/include/v8.h"
26 26
27 namespace blink { 27 namespace blink {
28 28
29 namespace { 29 namespace {
30 30
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 ResolveWithString) { 489 ResolveWithString) {
490 Test(String("hello"), "hello", __FILE__, __LINE__); 490 Test(String("hello"), "hello", __FILE__, __LINE__);
491 } 491 }
492 492
493 TEST_F(ScriptPromisePropertyNonScriptWrappableResolutionTargetTest, 493 TEST_F(ScriptPromisePropertyNonScriptWrappableResolutionTargetTest,
494 ResolveWithInteger) { 494 ResolveWithInteger) {
495 Test(-1, "-1", __FILE__, __LINE__); 495 Test(-1, "-1", __FILE__, __LINE__);
496 } 496 }
497 497
498 } // namespace blink 498 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698