Don't add an aura tooltip to bubble close buttons on Windows.
[chromium-blink-merge.git] / net / proxy / mojo_proxy_resolver_factory.h
blobeaf2774e800bd9ab874967eed0164642823d79f7
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
3 // found in the LICENSE file.
5 #ifndef NET_PROXY_MOJO_PROXY_RESOLVER_FACTORY_H_
6 #define NET_PROXY_MOJO_PROXY_RESOLVER_FACTORY_H_
8 #include "net/interfaces/host_resolver_service.mojom.h"
9 #include "net/interfaces/proxy_resolver_service.mojom.h"
10 #include "third_party/mojo/src/mojo/public/cpp/bindings/interface_request.h"
12 namespace net {
14 // Factory for connecting to Mojo ProxyResolver services.
15 class MojoProxyResolverFactory {
16 public:
17 // Connect to a new ProxyResolver service using request |req|, using
18 // |host_resolver| as the DNS resolver.
19 // Note: The connection request |req| may be resolved asynchronously.
20 virtual void Create(mojo::InterfaceRequest<interfaces::ProxyResolver> req,
21 interfaces::HostResolverPtr host_resolver) = 0;
23 protected:
24 virtual ~MojoProxyResolverFactory() = default;
27 } // namespace net
29 #endif // NET_PROXY_MOJO_PROXY_RESOLVER_FACTORY_H_