| OLD | NEW |
| 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 <stddef.h> |
| 8 #include <stdint.h> |
| 9 |
| 7 #include "base/bind.h" | 10 #include "base/bind.h" |
| 8 #include "base/logging.h" | 11 #include "base/logging.h" |
| 9 #include "base/numerics/safe_conversions.h" | 12 #include "base/numerics/safe_conversions.h" |
| 10 #include "base/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
| 11 #include "base/thread_task_runner_handle.h" | 14 #include "base/thread_task_runner_handle.h" |
| 12 #include "components/html_viewer/blink_url_request_type_converters.h" | 15 #include "components/html_viewer/blink_url_request_type_converters.h" |
| 13 #include "mojo/common/common_type_converters.h" | 16 #include "mojo/common/common_type_converters.h" |
| 14 #include "mojo/common/data_pipe_utils.h" | 17 #include "mojo/common/data_pipe_utils.h" |
| 15 #include "mojo/common/url_type_converters.h" | 18 #include "mojo/common/url_type_converters.h" |
| 16 #include "mojo/services/network/public/interfaces/url_loader_factory.mojom.h" | 19 #include "mojo/services/network/public/interfaces/url_loader_factory.mojom.h" |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 311 void WebURLLoaderImpl::OnResponseBodyStreamReady(MojoResult result) { | 314 void WebURLLoaderImpl::OnResponseBodyStreamReady(MojoResult result) { |
| 312 ReadMore(); | 315 ReadMore(); |
| 313 } | 316 } |
| 314 | 317 |
| 315 void WebURLLoaderImpl::setLoadingTaskRunner( | 318 void WebURLLoaderImpl::setLoadingTaskRunner( |
| 316 blink::WebTaskRunner* web_task_runner) { | 319 blink::WebTaskRunner* web_task_runner) { |
| 317 // TODO(alexclarke): Consider hooking this up. | 320 // TODO(alexclarke): Consider hooking this up. |
| 318 } | 321 } |
| 319 | 322 |
| 320 } // namespace html_viewer | 323 } // namespace html_viewer |
| OLD | NEW |