| 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/DataConsumerTee.h" | 5 #include "modules/fetch/DataConsumerTee.h" |
| 7 | 6 |
| 8 #include "core/testing/DummyPageHolder.h" | 7 #include "core/testing/DummyPageHolder.h" |
| 9 #include "core/testing/NullExecutionContext.h" | 8 #include "core/testing/NullExecutionContext.h" |
| 10 #include "modules/fetch/DataConsumerHandleTestUtil.h" | 9 #include "modules/fetch/DataConsumerHandleTestUtil.h" |
| 11 #include "platform/Task.h" | 10 #include "platform/Task.h" |
| 12 #include "platform/ThreadSafeFunctional.h" | 11 #include "platform/ThreadSafeFunctional.h" |
| 13 #include "platform/WebThreadSupportingGC.h" | 12 #include "platform/WebThreadSupportingGC.h" |
| 14 #include "public/platform/Platform.h" | 13 #include "public/platform/Platform.h" |
| 15 #include "public/platform/WebThread.h" | 14 #include "public/platform/WebThread.h" |
| (...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 OwnPtr<HandleReadResult> res2 = r2.wait(); | 409 OwnPtr<HandleReadResult> res2 = r2.wait(); |
| 411 | 410 |
| 412 EXPECT_EQ(kDone, res1->result()); | 411 EXPECT_EQ(kDone, res1->result()); |
| 413 EXPECT_EQ(0u, res1->data().size()); | 412 EXPECT_EQ(0u, res1->data().size()); |
| 414 EXPECT_EQ(kDone, res2->result()); | 413 EXPECT_EQ(kDone, res2->result()); |
| 415 EXPECT_EQ(0u, res2->data().size()); | 414 EXPECT_EQ(0u, res2->data().size()); |
| 416 } | 415 } |
| 417 | 416 |
| 418 } // namespace | 417 } // namespace |
| 419 } // namespace blink | 418 } // namespace blink |
| OLD | NEW |