Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: third_party/WebKit/Source/modules/fetch/CompositeDataConsumerHandle.cpp

Issue 2123183002: Move crossThreadBind() from platform/ to wtf/ Base URL: https://chromium.googlesource.com/chromium/src.git@TRV_WTFCrossThreadCopier
Patch Set: Rebase Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/CompositeDataConsumerHandle.h" 5 #include "modules/fetch/CompositeDataConsumerHandle.h"
6 6
7 #include "platform/CrossThreadFunctional.h"
8 #include "public/platform/Platform.h" 7 #include "public/platform/Platform.h"
9 #include "public/platform/WebTaskRunner.h" 8 #include "public/platform/WebTaskRunner.h"
10 #include "public/platform/WebThread.h" 9 #include "public/platform/WebThread.h"
11 #include "public/platform/WebTraceLocation.h" 10 #include "public/platform/WebTraceLocation.h"
11 #include "wtf/Functional.h"
12 #include "wtf/Locker.h" 12 #include "wtf/Locker.h"
13 #include "wtf/PtrUtil.h" 13 #include "wtf/PtrUtil.h"
14 #include "wtf/ThreadSafeRefCounted.h" 14 #include "wtf/ThreadSafeRefCounted.h"
15 #include "wtf/ThreadingPrimitives.h" 15 #include "wtf/ThreadingPrimitives.h"
16 #include <memory> 16 #include <memory>
17 17
18 namespace blink { 18 namespace blink {
19 19
20 using Result = WebDataConsumerHandle::Result; 20 using Result = WebDataConsumerHandle::Result;
21 21
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 } 208 }
209 209
210 CompositeDataConsumerHandle::~CompositeDataConsumerHandle() { } 210 CompositeDataConsumerHandle::~CompositeDataConsumerHandle() { }
211 211
212 WebDataConsumerHandle::Reader* CompositeDataConsumerHandle::obtainReaderInternal (Client* client) 212 WebDataConsumerHandle::Reader* CompositeDataConsumerHandle::obtainReaderInternal (Client* client)
213 { 213 {
214 return m_context->obtainReader(client).release(); 214 return m_context->obtainReader(client).release();
215 } 215 }
216 216
217 } // namespace blink 217 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698