Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / net / ftp / ftp_network_session.h
blobe92bb06643f6b0d5996c7f96a8a5feef40136c53
1 // Copyright (c) 2011 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_FTP_FTP_NETWORK_SESSION_H_
6 #define NET_FTP_FTP_NETWORK_SESSION_H_
8 #include "base/memory/ref_counted.h"
9 #include "net/base/net_export.h"
11 namespace net {
13 class HostResolver;
15 // This class holds session objects used by FtpNetworkTransaction objects.
16 class NET_EXPORT_PRIVATE FtpNetworkSession
17 : public base::RefCounted<FtpNetworkSession> {
18 public:
19 explicit FtpNetworkSession(HostResolver* host_resolver);
21 HostResolver* host_resolver() { return host_resolver_; }
23 private:
24 friend class base::RefCounted<FtpNetworkSession>;
26 virtual ~FtpNetworkSession();
28 HostResolver* const host_resolver_;
31 } // namespace net
33 #endif // NET_FTP_FTP_NETWORK_SESSION_H_