Index: net/ftp/ftp_transaction.h |
diff --git a/net/ftp/ftp_transaction.h b/net/ftp/ftp_transaction.h |
index 300468ba2fe8a43f3b673513cc8c5050b30a11ba..269c8bb7741116891c6dc02134f68a5c977e2d6f 100644 |
--- a/net/ftp/ftp_transaction.h |
+++ b/net/ftp/ftp_transaction.h |
@@ -6,7 +6,6 @@ |
#define NET_FTP_FTP_TRANSACTION_H_ |
#pragma once |
-#include "base/string16.h" |
#include "net/base/completion_callback.h" |
#include "net/base/io_buffer.h" |
#include "net/base/load_states.h" |
@@ -14,6 +13,7 @@ |
namespace net { |
+class AuthCredentials; |
class FtpResponseInfo; |
class FtpRequestInfo; |
class BoundNetLog; |
@@ -44,8 +44,7 @@ class NET_EXPORT_PRIVATE FtpTransaction { |
const BoundNetLog& net_log) = 0; |
// Restarts the FTP transaction with authentication credentials. |
- virtual int RestartWithAuth(const string16& username, |
- const string16& password, |
+ virtual int RestartWithAuth(const AuthCredentials& credentials, |
OldCompletionCallback* callback) = 0; |
// Once response info is available for the transaction, response data may be |