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 "platform/Task.h" | 7 #include "platform/Task.h" |
9 #include "platform/ThreadSafeFunctional.h" | 8 #include "platform/ThreadSafeFunctional.h" |
10 #include "public/platform/Platform.h" | 9 #include "public/platform/Platform.h" |
11 #include "public/platform/WebThread.h" | 10 #include "public/platform/WebThread.h" |
12 #include "public/platform/WebTraceLocation.h" | 11 #include "public/platform/WebTraceLocation.h" |
13 #include "wtf/Locker.h" | 12 #include "wtf/Locker.h" |
14 #include "wtf/ThreadSafeRefCounted.h" | 13 #include "wtf/ThreadSafeRefCounted.h" |
15 #include "wtf/ThreadingPrimitives.h" | 14 #include "wtf/ThreadingPrimitives.h" |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 } | 206 } |
208 | 207 |
209 CompositeDataConsumerHandle::~CompositeDataConsumerHandle() { } | 208 CompositeDataConsumerHandle::~CompositeDataConsumerHandle() { } |
210 | 209 |
211 WebDataConsumerHandle::Reader* CompositeDataConsumerHandle::obtainReaderInternal
(Client* client) | 210 WebDataConsumerHandle::Reader* CompositeDataConsumerHandle::obtainReaderInternal
(Client* client) |
212 { | 211 { |
213 return m_context->obtainReader(client).leakPtr(); | 212 return m_context->obtainReader(client).leakPtr(); |
214 } | 213 } |
215 | 214 |
216 } // namespace blink | 215 } // namespace blink |
OLD | NEW |