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

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

Issue 393983004: Move mojo/examples/html_viewer to mojo/services/html_viewer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort Created 6 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 | Annotate | Revision Log
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/examples/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/thread_task_runner_handle.h" 9 #include "base/thread_task_runner_handle.h"
10 #include "mojo/common/common_type_converters.h" 10 #include "mojo/common/common_type_converters.h"
11 #include "mojo/services/public/interfaces/network/network_service.mojom.h" 11 #include "mojo/services/public/interfaces/network/network_service.mojom.h"
12 #include "net/base/net_errors.h" 12 #include "net/base/net_errors.h"
13 #include "third_party/WebKit/public/platform/WebURLError.h" 13 #include "third_party/WebKit/public/platform/WebURLError.h"
14 #include "third_party/WebKit/public/platform/WebURLLoadTiming.h" 14 #include "third_party/WebKit/public/platform/WebURLLoadTiming.h"
15 #include "third_party/WebKit/public/platform/WebURLLoaderClient.h" 15 #include "third_party/WebKit/public/platform/WebURLLoaderClient.h"
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 base::Bind(&WebURLLoaderImpl::OnResponseBodyStreamReady, 182 base::Bind(&WebURLLoaderImpl::OnResponseBodyStreamReady,
183 weak_factory_.GetWeakPtr())); 183 weak_factory_.GetWeakPtr()));
184 } 184 }
185 185
186 void WebURLLoaderImpl::OnResponseBodyStreamReady(MojoResult result) { 186 void WebURLLoaderImpl::OnResponseBodyStreamReady(MojoResult result) {
187 ReadMore(); 187 ReadMore();
188 } 188 }
189 189
190 } // namespace examples 190 } // namespace examples
191 } // namespace mojo 191 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698