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

Side by Side Diff: net/dns/host_resolver_mojo.cc

Issue 955263002: Rename mojo_type_converters.* to mojo_{host,proxy}_type_converters.* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « net/BUILD.gn ('k') | net/dns/host_resolver_mojo_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "net/dns/host_resolver_mojo.h" 5 #include "net/dns/host_resolver_mojo.h"
6 6
7 #include "net/base/address_list.h" 7 #include "net/base/address_list.h"
8 #include "net/base/net_errors.h" 8 #include "net/base/net_errors.h"
9 #include "net/base/net_log.h" 9 #include "net/base/net_log.h"
10 #include "net/dns/mojo_type_converters.h" 10 #include "net/dns/mojo_host_type_converters.h"
11 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h" 11 #include "third_party/mojo/src/mojo/public/cpp/bindings/binding.h"
12 #include "third_party/mojo/src/mojo/public/cpp/bindings/error_handler.h" 12 #include "third_party/mojo/src/mojo/public/cpp/bindings/error_handler.h"
13 13
14 namespace net { 14 namespace net {
15 15
16 class HostResolverMojo::Job : public interfaces::HostResolverRequestClient, 16 class HostResolverMojo::Job : public interfaces::HostResolverRequestClient,
17 public mojo::ErrorHandler { 17 public mojo::ErrorHandler {
18 public: 18 public:
19 Job(AddressList* addresses, 19 Job(AddressList* addresses,
20 const CompletionCallback& callback, 20 const CompletionCallback& callback,
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 *addresses_ = address_list->To<AddressList>(); 95 *addresses_ = address_list->To<AddressList>();
96 callback_.Run(error); 96 callback_.Run(error);
97 delete this; 97 delete this;
98 } 98 }
99 99
100 void HostResolverMojo::Job::OnConnectionError() { 100 void HostResolverMojo::Job::OnConnectionError() {
101 ReportResult(ERR_FAILED, interfaces::AddressListPtr()); 101 ReportResult(ERR_FAILED, interfaces::AddressListPtr());
102 } 102 }
103 103
104 } // namespace net 104 } // namespace net
OLDNEW
« no previous file with comments | « net/BUILD.gn ('k') | net/dns/host_resolver_mojo_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698