OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "config.h" | |
6 #include "modules/fetch/ReadableStreamDataConsumerHandle.h" | 5 #include "modules/fetch/ReadableStreamDataConsumerHandle.h" |
7 | 6 |
8 #include "bindings/core/v8/ScriptState.h" | 7 #include "bindings/core/v8/ScriptState.h" |
9 #include "bindings/core/v8/V8BindingMacros.h" | 8 #include "bindings/core/v8/V8BindingMacros.h" |
10 #include "core/dom/Document.h" | 9 #include "core/dom/Document.h" |
11 #include "core/testing/DummyPageHolder.h" | 10 #include "core/testing/DummyPageHolder.h" |
12 #include "modules/fetch/DataConsumerHandleTestUtil.h" | 11 #include "modules/fetch/DataConsumerHandleTestUtil.h" |
13 #include "platform/heap/Handle.h" | 12 #include "platform/heap/Handle.h" |
14 #include "platform/testing/UnitTestHelpers.h" | 13 #include "platform/testing/UnitTestHelpers.h" |
15 #include "public/platform/WebDataConsumerHandle.h" | 14 #include "public/platform/WebDataConsumerHandle.h" |
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 EXPECT_EQ(kShouldWait, reader->beginRead(&buffer, kNone, &available)); | 431 EXPECT_EQ(kShouldWait, reader->beginRead(&buffer, kNone, &available)); |
433 testing::runPendingTasks(); | 432 testing::runPendingTasks(); |
434 checkpoint.Call(3); | 433 checkpoint.Call(3); |
435 EXPECT_EQ(kUnexpectedError, reader->beginRead(&buffer, kNone, &available)); | 434 EXPECT_EQ(kUnexpectedError, reader->beginRead(&buffer, kNone, &available)); |
436 } | 435 } |
437 | 436 |
438 } // namespace | 437 } // namespace |
439 | 438 |
440 } // namespace blink | 439 } // namespace blink |
441 | 440 |
OLD | NEW |