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

Unified Diff: net/ftp/ftp_ctrl_response_buffer.h

Issue 11377007: FTP: add net-internals logging. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: net/ftp/ftp_ctrl_response_buffer.h
diff --git a/net/ftp/ftp_ctrl_response_buffer.h b/net/ftp/ftp_ctrl_response_buffer.h
index be74c954f9d54c69998355be728fd5d0311801c4..fa5c03115b3cf578ae9b1e95987cf53f3fb905b5 100644
--- a/net/ftp/ftp_ctrl_response_buffer.h
+++ b/net/ftp/ftp_ctrl_response_buffer.h
@@ -12,6 +12,7 @@
#include "base/basictypes.h"
#include "net/base/net_export.h"
+#include "net/base/net_log.h"
namespace net {
@@ -27,7 +28,7 @@ struct NET_EXPORT_PRIVATE FtpCtrlResponse {
class NET_EXPORT_PRIVATE FtpCtrlResponseBuffer {
public:
- FtpCtrlResponseBuffer();
+ FtpCtrlResponseBuffer(const BoundNetLog& net_log);
~FtpCtrlResponseBuffer();
// Called when data is received from the control socket. Returns error code.
@@ -90,6 +91,8 @@ class NET_EXPORT_PRIVATE FtpCtrlResponseBuffer {
// As we read full responses (possibly multiline), we add them to the queue.
std::queue<FtpCtrlResponse> responses_;
+ BoundNetLog net_log_;
+
DISALLOW_COPY_AND_ASSIGN(FtpCtrlResponseBuffer);
};

Powered by Google App Engine
This is Rietveld 408576698