| 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/CompositeDataConsumerHandle.h" | 5 #include "modules/fetch/CompositeDataConsumerHandle.h" |
| 7 | 6 |
| 8 #include "modules/fetch/DataConsumerHandleTestUtil.h" | 7 #include "modules/fetch/DataConsumerHandleTestUtil.h" |
| 9 #include "platform/Task.h" | 8 #include "platform/Task.h" |
| 10 #include "platform/ThreadSafeFunctional.h" | 9 #include "platform/ThreadSafeFunctional.h" |
| 11 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
| 12 #include "public/platform/Platform.h" | 11 #include "public/platform/Platform.h" |
| 13 #include "public/platform/WebThread.h" | 12 #include "public/platform/WebThread.h" |
| 14 #include "public/platform/WebTraceLocation.h" | 13 #include "public/platform/WebTraceLocation.h" |
| 15 #include "public/platform/WebWaitableEvent.h" | 14 #include "public/platform/WebWaitableEvent.h" |
| (...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 490 { | 489 { |
| 491 RefPtr<DataConsumerHandleTestUtil::ThreadingHandleNoNotificationTest> test =
DataConsumerHandleTestUtil::ThreadingHandleNoNotificationTest::create(); | 490 RefPtr<DataConsumerHandleTestUtil::ThreadingHandleNoNotificationTest> test =
DataConsumerHandleTestUtil::ThreadingHandleNoNotificationTest::create(); |
| 492 CompositeDataConsumerHandle::Updater* updater = nullptr; | 491 CompositeDataConsumerHandle::Updater* updater = nullptr; |
| 493 // Test this function doesn't crash. | 492 // Test this function doesn't crash. |
| 494 test->run(CompositeDataConsumerHandle::create(createDoneDataConsumerHandle()
, &updater)); | 493 test->run(CompositeDataConsumerHandle::create(createDoneDataConsumerHandle()
, &updater)); |
| 495 } | 494 } |
| 496 | 495 |
| 497 } // namespace | 496 } // namespace |
| 498 | 497 |
| 499 } // namespace blink | 498 } // namespace blink |
| OLD | NEW |