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

Side by Side Diff: net/dns/mojo_host_resolver_impl.h

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… Created 4 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 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 #ifndef NET_DNS_MOJO_HOST_RESOLVER_IMPL_H_ 5 #ifndef NET_DNS_MOJO_HOST_RESOLVER_IMPL_H_
6 #define NET_DNS_MOJO_HOST_RESOLVER_IMPL_H_ 6 #define NET_DNS_MOJO_HOST_RESOLVER_IMPL_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/threading/thread_checker.h" 11 #include "base/threading/thread_checker.h"
12 #include "net/interfaces/host_resolver_service.mojom.h" 12 #include "net/interfaces/host_resolver_service.mojom.h"
13 #include "net/log/net_log.h" 13 #include "net/log/net_log_with_source.h"
14 14
15 namespace net { 15 namespace net {
16 16
17 class HostResolver; 17 class HostResolver;
18 18
19 // MojoHostResolverImpl handles mojo host resolution requests. Inbound Mojo 19 // MojoHostResolverImpl handles mojo host resolution requests. Inbound Mojo
20 // requests are sent to the HostResolver passed into the constructor. When 20 // requests are sent to the HostResolver passed into the constructor. When
21 // destroyed, any outstanding resolver requests are cancelled. If a request's 21 // destroyed, any outstanding resolver requests are cancelled. If a request's
22 // HostResolverRequestClient is shut down, the associated resolver request is 22 // HostResolverRequestClient is shut down, the associated resolver request is
23 // cancelled. 23 // cancelled.
(...skipping 26 matching lines...) Expand all
50 std::set<Job*> pending_jobs_; 50 std::set<Job*> pending_jobs_;
51 51
52 base::ThreadChecker thread_checker_; 52 base::ThreadChecker thread_checker_;
53 53
54 DISALLOW_COPY_AND_ASSIGN(MojoHostResolverImpl); 54 DISALLOW_COPY_AND_ASSIGN(MojoHostResolverImpl);
55 }; 55 };
56 56
57 } // namespace net 57 } // namespace net
58 58
59 #endif // NET_DNS_MOJO_HOST_RESOLVER_IMPL_H_ 59 #endif // NET_DNS_MOJO_HOST_RESOLVER_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698