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

Side by Side Diff: net/proxy/mojo_proxy_resolver_impl.h

Issue 2083433002: Mojo: Remove url type converters. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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/net.gyp ('k') | net/proxy/mojo_proxy_resolver_impl.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 #ifndef NET_PROXY_MOJO_PROXY_RESOLVER_IMPL_H_ 5 #ifndef NET_PROXY_MOJO_PROXY_RESOLVER_IMPL_H_
6 #define NET_PROXY_MOJO_PROXY_RESOLVER_IMPL_H_ 6 #define NET_PROXY_MOJO_PROXY_RESOLVER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <queue> 10 #include <queue>
(...skipping 12 matching lines...) Expand all
23 explicit MojoProxyResolverImpl( 23 explicit MojoProxyResolverImpl(
24 std::unique_ptr<ProxyResolverV8Tracing> resolver); 24 std::unique_ptr<ProxyResolverV8Tracing> resolver);
25 25
26 ~MojoProxyResolverImpl() override; 26 ~MojoProxyResolverImpl() override;
27 27
28 private: 28 private:
29 class Job; 29 class Job;
30 30
31 // interfaces::ProxyResolver overrides. 31 // interfaces::ProxyResolver overrides.
32 void GetProxyForUrl( 32 void GetProxyForUrl(
33 const mojo::String& url, 33 const GURL& url,
34 interfaces::ProxyResolverRequestClientPtr client) override; 34 interfaces::ProxyResolverRequestClientPtr client) override;
35 35
36 void DeleteJob(Job* job); 36 void DeleteJob(Job* job);
37 37
38 std::unique_ptr<ProxyResolverV8Tracing> resolver_; 38 std::unique_ptr<ProxyResolverV8Tracing> resolver_;
39 std::set<Job*> resolve_jobs_; 39 std::set<Job*> resolve_jobs_;
40 40
41 DISALLOW_COPY_AND_ASSIGN(MojoProxyResolverImpl); 41 DISALLOW_COPY_AND_ASSIGN(MojoProxyResolverImpl);
42 }; 42 };
43 43
44 } // namespace net 44 } // namespace net
45 45
46 #endif // NET_PROXY_MOJO_PROXY_RESOLVER_IMPL_H_ 46 #endif // NET_PROXY_MOJO_PROXY_RESOLVER_IMPL_H_
OLDNEW
« no previous file with comments | « net/net.gyp ('k') | net/proxy/mojo_proxy_resolver_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698