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

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

Issue 2177243002: Use per-frame TaskRunner instead of thread's default in DataConsumerHandle (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@data_consumer_handle_unique_ptr
Patch Set: update Created 4 years, 4 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/FetchDataConsumerHandle.h" 5 #include "modules/fetch/FetchDataConsumerHandle.h"
6 6
7 #include "public/platform/WebTaskRunner.h"
8
7 namespace blink { 9 namespace blink {
8 10
9 std::unique_ptr<WebDataConsumerHandle::Reader> FetchDataConsumerHandle::obtainRe ader(Client* client) 11 std::unique_ptr<WebDataConsumerHandle::Reader> FetchDataConsumerHandle::obtainRe ader(Client* client, std::unique_ptr<WebTaskRunner> readerTaskRunner)
10 { 12 {
11 return obtainFetchDataReader(client); 13 return obtainFetchDataReader(client, std::move(readerTaskRunner));
12 } 14 }
13 15
14 } // namespace blink 16 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698