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

Side by Side Diff: components/html_viewer/web_url_loader_impl.cc

Issue 1402933002: Revert "Post loading tasks on the appropriate WebFrameScheduler's queue." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix bad merge Created 5 years, 2 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/html_viewer/web_url_loader_impl.h" 5 #include "components/html_viewer/web_url_loader_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/numerics/safe_conversions.h" 9 #include "base/numerics/safe_conversions.h"
10 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 MOJO_HANDLE_SIGNAL_READABLE, 342 MOJO_HANDLE_SIGNAL_READABLE,
343 MOJO_DEADLINE_INDEFINITE, 343 MOJO_DEADLINE_INDEFINITE,
344 base::Bind(&WebURLLoaderImpl::OnResponseBodyStreamReady, 344 base::Bind(&WebURLLoaderImpl::OnResponseBodyStreamReady,
345 weak_factory_.GetWeakPtr())); 345 weak_factory_.GetWeakPtr()));
346 } 346 }
347 347
348 void WebURLLoaderImpl::OnResponseBodyStreamReady(MojoResult result) { 348 void WebURLLoaderImpl::OnResponseBodyStreamReady(MojoResult result) {
349 ReadMore(); 349 ReadMore();
350 } 350 }
351 351
352 void WebURLLoaderImpl::setLoadingTaskRunner(
353 blink::WebTaskRunner* web_task_runner) {
354 // TODO(alexclarke): Consider hooking this up.
355 }
356
357 } // namespace html_viewer 352 } // namespace html_viewer
OLDNEW
« no previous file with comments | « components/html_viewer/web_url_loader_impl.h ('k') | components/scheduler/child/web_task_runner_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698