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 <algorithm> | 7 #include <algorithm> |
8 #include <deque> | 8 #include <deque> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
| 11 #include "base/macros.h" |
11 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
12 #include "base/single_thread_task_runner.h" | 13 #include "base/single_thread_task_runner.h" |
13 #include "base/synchronization/lock.h" | 14 #include "base/synchronization/lock.h" |
14 #include "base/thread_task_runner_handle.h" | 15 #include "base/thread_task_runner_handle.h" |
15 #include "content/public/child/fixed_received_data.h" | 16 #include "content/public/child/fixed_received_data.h" |
16 | 17 |
17 namespace content { | 18 namespace content { |
18 | 19 |
19 namespace { | 20 namespace { |
20 | 21 |
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 SharedMemoryDataConsumerHandle::ReaderImpl* | 473 SharedMemoryDataConsumerHandle::ReaderImpl* |
473 SharedMemoryDataConsumerHandle::obtainReaderInternal(Client* client) { | 474 SharedMemoryDataConsumerHandle::obtainReaderInternal(Client* client) { |
474 return new ReaderImpl(context_, client); | 475 return new ReaderImpl(context_, client); |
475 } | 476 } |
476 | 477 |
477 const char* SharedMemoryDataConsumerHandle::debugName() const { | 478 const char* SharedMemoryDataConsumerHandle::debugName() const { |
478 return "SharedMemoryDataConsumerHandle"; | 479 return "SharedMemoryDataConsumerHandle"; |
479 } | 480 } |
480 | 481 |
481 } // namespace content | 482 } // namespace content |
OLD | NEW |