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

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

Issue 126110: [Refactor] Rename DnsResolutionObserver --> HostResolver::Observer.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 6 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/base/tcp_client_socket_pool.cc ('k') | net/http/http_network_transaction.cc » ('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) 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 "base/compiler_specific.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "net/base/client_socket.h" 9 #include "net/base/client_socket.h"
10 #include "net/base/client_socket_factory.h" 10 #include "net/base/client_socket_factory.h"
11 #include "net/base/connection_type_histograms.h" 11 #include "net/base/connection_type_histograms.h"
12 #include "net/base/dns_resolution_observer.h"
13 #include "net/base/net_errors.h" 12 #include "net/base/net_errors.h"
14 #include "net/ftp/ftp_network_session.h" 13 #include "net/ftp/ftp_network_session.h"
15 #include "net/ftp/ftp_request_info.h" 14 #include "net/ftp/ftp_request_info.h"
16 15
17 // TODO(ibrar): Try to avoid sscanf. 16 // TODO(ibrar): Try to avoid sscanf.
18 #if !defined(COMPILER_MSVC) 17 #if !defined(COMPILER_MSVC)
19 #define sscanf_s sscanf 18 #define sscanf_s sscanf
20 #endif 19 #endif
21 20
22 const char kCRLF[] = "\r\n"; 21 const char kCRLF[] = "\r\n";
(...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after
872 &io_callback_); 871 &io_callback_);
873 } 872 }
874 873
875 int FtpNetworkTransaction::DoDataReadComplete(int result) { 874 int FtpNetworkTransaction::DoDataReadComplete(int result) {
876 DLOG(INFO) << read_data_buf_->data(); // The read_data_buf_ is NULL 875 DLOG(INFO) << read_data_buf_->data(); // The read_data_buf_ is NULL
877 // terminated string. 876 // terminated string.
878 return result; 877 return result;
879 } 878 }
880 879
881 } // namespace net 880 } // namespace net
OLDNEW
« no previous file with comments | « net/base/tcp_client_socket_pool.cc ('k') | net/http/http_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698