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

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

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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/ftp/ftp_directory_listing_parser_vms.cc ('k') | net/ftp/ftp_network_transaction.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 7
8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
11 #include "net/base/net_export.h" 11 #include "net/base/net_export.h"
12 #include "net/ftp/ftp_transaction_factory.h" 12 #include "net/ftp/ftp_transaction_factory.h"
13 13
14 namespace net { 14 namespace net {
15 15
16 class FtpNetworkSession; 16 class FtpNetworkSession;
17 class HostResolver; 17 class HostResolver;
18 18
19 class NET_EXPORT FtpNetworkLayer : public FtpTransactionFactory { 19 class NET_EXPORT FtpNetworkLayer : public FtpTransactionFactory {
20 public: 20 public:
21 explicit FtpNetworkLayer(HostResolver* host_resolver); 21 explicit FtpNetworkLayer(HostResolver* host_resolver);
22 ~FtpNetworkLayer() override; 22 ~FtpNetworkLayer() override;
23 23
24 // FtpTransactionFactory methods: 24 // FtpTransactionFactory methods:
25 FtpTransaction* CreateTransaction() override; 25 FtpTransaction* CreateTransaction() override;
26 void Suspend(bool suspend) override; 26 void Suspend(bool suspend) override;
27 27
28 private: 28 private:
29 scoped_ptr<FtpNetworkSession> session_; 29 scoped_ptr<FtpNetworkSession> session_;
30 bool suspended_; 30 bool suspended_;
31 DISALLOW_COPY_AND_ASSIGN(FtpNetworkLayer); 31 DISALLOW_COPY_AND_ASSIGN(FtpNetworkLayer);
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/ftp/ftp_directory_listing_parser_vms.cc ('k') | net/ftp/ftp_network_transaction.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698