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

Side by Side Diff: mojo/services/html_viewer/weburlloader_impl.cc

Issue 799113004: Update mojo sdk to rev 59145288bae55b0fce4276b017df6a1117bcf00f (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add mojo's ply to checklicenses whitelist Created 6 years 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 "mojo/services/html_viewer/weburlloader_impl.h" 5 #include "mojo/services/html_viewer/weburlloader_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/strings/string_util.h" 9 #include "base/strings/string_util.h"
10 #include "base/thread_task_runner_handle.h" 10 #include "base/thread_task_runner_handle.h"
11 #include "mojo/common/common_type_converters.h" 11 #include "mojo/common/common_type_converters.h"
12 #include "mojo/services/html_viewer/blink_url_request_type_converters.h" 12 #include "mojo/services/html_viewer/blink_url_request_type_converters.h"
13 #include "mojo/services/public/interfaces/network/network_service.mojom.h" 13 #include "mojo/services/network/public/interfaces/network_service.mojom.h"
14 #include "net/base/net_errors.h" 14 #include "net/base/net_errors.h"
15 #include "third_party/WebKit/public/platform/WebURLError.h" 15 #include "third_party/WebKit/public/platform/WebURLError.h"
16 #include "third_party/WebKit/public/platform/WebURLLoadTiming.h" 16 #include "third_party/WebKit/public/platform/WebURLLoadTiming.h"
17 #include "third_party/WebKit/public/platform/WebURLLoaderClient.h" 17 #include "third_party/WebKit/public/platform/WebURLLoaderClient.h"
18 #include "third_party/WebKit/public/platform/WebURLResponse.h" 18 #include "third_party/WebKit/public/platform/WebURLResponse.h"
19 19
20 namespace mojo { 20 namespace mojo {
21 namespace { 21 namespace {
22 22
23 static blink::WebURLResponse::HTTPVersion StatusLineToHTTPVersion( 23 static blink::WebURLResponse::HTTPVersion StatusLineToHTTPVersion(
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 MOJO_DEADLINE_INDEFINITE, 215 MOJO_DEADLINE_INDEFINITE,
216 base::Bind(&WebURLLoaderImpl::OnResponseBodyStreamReady, 216 base::Bind(&WebURLLoaderImpl::OnResponseBodyStreamReady,
217 weak_factory_.GetWeakPtr())); 217 weak_factory_.GetWeakPtr()));
218 } 218 }
219 219
220 void WebURLLoaderImpl::OnResponseBodyStreamReady(MojoResult result) { 220 void WebURLLoaderImpl::OnResponseBodyStreamReady(MojoResult result) {
221 ReadMore(); 221 ReadMore();
222 } 222 }
223 223
224 } // namespace mojo 224 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/services/html_viewer/weburlloader_impl.h ('k') | mojo/services/input_events/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698