| 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 "modules/fetch/FetchDataLoader.h" | 5 #include "modules/fetch/FetchDataLoader.h" |
| 6 | 6 |
| 7 #include <memory> |
| 7 #include "modules/fetch/BytesConsumerForDataConsumerHandle.h" | 8 #include "modules/fetch/BytesConsumerForDataConsumerHandle.h" |
| 8 #include "modules/fetch/BytesConsumerTestUtil.h" | 9 #include "modules/fetch/BytesConsumerTestUtil.h" |
| 9 #include "testing/gmock/include/gmock/gmock.h" | 10 #include "testing/gmock/include/gmock/gmock.h" |
| 10 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
| 11 #include <memory> | |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 namespace { | 15 namespace { |
| 16 | 16 |
| 17 using ::testing::ByMove; | 17 using ::testing::ByMove; |
| 18 using ::testing::InSequence; | 18 using ::testing::InSequence; |
| 19 using ::testing::Return; | 19 using ::testing::Return; |
| 20 using ::testing::DoAll; | 20 using ::testing::DoAll; |
| 21 using ::testing::StrictMock; | 21 using ::testing::StrictMock; |
| (...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 489 checkpoint.Call(1); | 489 checkpoint.Call(1); |
| 490 fetchDataLoader->start(consumer, fetchDataLoaderClient); | 490 fetchDataLoader->start(consumer, fetchDataLoaderClient); |
| 491 checkpoint.Call(2); | 491 checkpoint.Call(2); |
| 492 fetchDataLoader->cancel(); | 492 fetchDataLoader->cancel(); |
| 493 checkpoint.Call(3); | 493 checkpoint.Call(3); |
| 494 } | 494 } |
| 495 | 495 |
| 496 } // namespace | 496 } // namespace |
| 497 | 497 |
| 498 } // namespace blink | 498 } // namespace blink |
| OLD | NEW |