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

Side by Side Diff: net/ftp/ftp_network_layer.h

Issue 7064033: Virtual destructors should have virtual keyword. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « net/disk_cache/stats_histogram.h ('k') | net/http/http_auth_handler_basic.h » ('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 (c) 2011 The Chromium Authors. All rights reserved. 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 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_FTP_FTP_NETWORK_LAYER_H_ 5 #ifndef NET_FTP_FTP_NETWORK_LAYER_H_
6 #define NET_FTP_FTP_NETWORK_LAYER_H_ 6 #define NET_FTP_FTP_NETWORK_LAYER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "net/base/net_api.h" 10 #include "net/base/net_api.h"
11 #include "net/ftp/ftp_transaction_factory.h" 11 #include "net/ftp/ftp_transaction_factory.h"
12 12
13 namespace net { 13 namespace net {
14 14
15 class FtpNetworkSession; 15 class FtpNetworkSession;
16 class HostResolver; 16 class HostResolver;
17 17
18 class NET_API FtpNetworkLayer : public FtpTransactionFactory { 18 class NET_API FtpNetworkLayer : public FtpTransactionFactory {
19 public: 19 public:
20 explicit FtpNetworkLayer(HostResolver* host_resolver); 20 explicit FtpNetworkLayer(HostResolver* host_resolver);
21 ~FtpNetworkLayer(); 21 virtual ~FtpNetworkLayer();
22 22
23 static FtpTransactionFactory* CreateFactory(HostResolver* host_resolver); 23 static FtpTransactionFactory* CreateFactory(HostResolver* host_resolver);
24 24
25 // FtpTransactionFactory methods: 25 // FtpTransactionFactory methods:
26 virtual FtpTransaction* CreateTransaction(); 26 virtual FtpTransaction* CreateTransaction();
27 virtual void Suspend(bool suspend); 27 virtual void Suspend(bool suspend);
28 28
29 private: 29 private:
30 scoped_refptr<FtpNetworkSession> session_; 30 scoped_refptr<FtpNetworkSession> session_;
31 bool suspended_; 31 bool suspended_;
32 }; 32 };
33 33
34 } // namespace net 34 } // namespace net
35 35
36 #endif // NET_FTP_FTP_NETWORK_LAYER_H_ 36 #endif // NET_FTP_FTP_NETWORK_LAYER_H_
OLDNEW
« no previous file with comments | « net/disk_cache/stats_histogram.h ('k') | net/http/http_auth_handler_basic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698