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

Side by Side Diff: net/ftp/ftp_network_transaction.cc

Issue 14818: Fix Linux build. (Closed)
Patch Set: Created 12 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 | « no previous file | no next file » | 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) 2008 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2008 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #include "net/ftp/ftp_network_transaction.h" 5 #include "net/ftp/ftp_network_transaction.h"
6 6
7 #include "base/compiler_specific.h"
7 #include "net/base/client_socket.h" 8 #include "net/base/client_socket.h"
8 #include "net/base/net_errors.h" 9 #include "net/base/net_errors.h"
9 #include "net/ftp/ftp_network_session.h" 10 #include "net/ftp/ftp_network_session.h"
10 11
11 namespace net { 12 namespace net {
12 13
13 FtpNetworkTransaction::FtpNetworkTransaction( 14 FtpNetworkTransaction::FtpNetworkTransaction(
14 FtpNetworkSession* session, ClientSocketFactory* socket_factory) 15 FtpNetworkSession* session, ClientSocketFactory* socket_factory)
15 #pragma warning(suppress: 4355) 16 : ALLOW_THIS_IN_INITIALIZER_LIST(io_callback_(this,
wtc 2008/12/17 23:54:03 Nit: the colon should be indented by 4. And only
16 : io_callback_(this, &FtpNetworkTransaction::OnIOComplete), 17 &FtpNetworkTransaction::OnIOComplete)),
17 user_callback_(NULL), 18 user_callback_(NULL),
18 session_(session), 19 session_(session),
19 socket_factory_(socket_factory), 20 socket_factory_(socket_factory),
20 next_state_(STATE_NONE) { 21 next_state_(STATE_NONE) {
21 } 22 }
22 23
23 FtpNetworkTransaction::~FtpNetworkTransaction() { 24 FtpNetworkTransaction::~FtpNetworkTransaction() {
24 } 25 }
25 26
26 void FtpNetworkTransaction::Destroy() { 27 void FtpNetworkTransaction::Destroy() {
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 195
195 int FtpNetworkTransaction::DoDataRead() { 196 int FtpNetworkTransaction::DoDataRead() {
196 return ERR_FAILED; // TODO(darin): implement me 197 return ERR_FAILED; // TODO(darin): implement me
197 } 198 }
198 199
199 int FtpNetworkTransaction::DoDataReadComplete(int result) { 200 int FtpNetworkTransaction::DoDataReadComplete(int result) {
200 return ERR_FAILED; // TODO(darin): implement me 201 return ERR_FAILED; // TODO(darin): implement me
201 } 202 }
202 203
203 } // namespace net 204 } // namespace net
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698