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 "content/child/shared_memory_data_consumer_handle.h" | 5 #include "content/child/shared_memory_data_consumer_handle.h" |
6 | 6 |
| 7 #include <stddef.h> |
7 #include <string.h> | 8 #include <string.h> |
8 #include <string> | 9 #include <string> |
9 #include <vector> | 10 #include <vector> |
10 | 11 |
11 #include "base/bind.h" | 12 #include "base/bind.h" |
12 #include "base/callback.h" | 13 #include "base/callback.h" |
13 #include "base/location.h" | 14 #include "base/location.h" |
| 15 #include "base/macros.h" |
14 #include "base/message_loop/message_loop.h" | 16 #include "base/message_loop/message_loop.h" |
15 #include "base/run_loop.h" | 17 #include "base/run_loop.h" |
16 #include "base/task_runner.h" | 18 #include "base/task_runner.h" |
17 #include "base/threading/thread.h" | 19 #include "base/threading/thread.h" |
18 #include "content/public/child/fixed_received_data.h" | 20 #include "content/public/child/fixed_received_data.h" |
19 #include "testing/gmock/include/gmock/gmock.h" | 21 #include "testing/gmock/include/gmock/gmock.h" |
20 #include "testing/gtest/include/gtest/gtest.h" | 22 #include "testing/gtest/include/gtest/gtest.h" |
21 | 23 |
22 namespace content { | 24 namespace content { |
23 | 25 |
(...skipping 1014 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1038 logger->log()); | 1040 logger->log()); |
1039 } | 1041 } |
1040 | 1042 |
1041 INSTANTIATE_TEST_CASE_P(SharedMemoryDataConsumerHandleTest, | 1043 INSTANTIATE_TEST_CASE_P(SharedMemoryDataConsumerHandleTest, |
1042 SharedMemoryDataConsumerHandleTest, | 1044 SharedMemoryDataConsumerHandleTest, |
1043 ::testing::Values(kApplyBackpressure, | 1045 ::testing::Values(kApplyBackpressure, |
1044 kDoNotApplyBackpressure)); | 1046 kDoNotApplyBackpressure)); |
1045 } // namespace | 1047 } // namespace |
1046 | 1048 |
1047 } // namespace content | 1049 } // namespace content |
OLD | NEW |