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

Unified Diff: net/ftp/ftp_ctrl_response_buffer.cc

Issue 2315613002: Extracted NetLog class's inner enum types into their own enum classes and (Closed)
Patch Set: Ran "git cl format" on code. Much formatting ensued. Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/filter/sdch_filter.cc ('k') | net/ftp/ftp_network_transaction.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ftp/ftp_ctrl_response_buffer.cc
diff --git a/net/ftp/ftp_ctrl_response_buffer.cc b/net/ftp/ftp_ctrl_response_buffer.cc
index 1195d66b54a7a5f5935f4917fde6bdced52ef77f..419eda6fce0e9def70314f5c0d11f9a7cd042404 100644
--- a/net/ftp/ftp_ctrl_response_buffer.cc
+++ b/net/ftp/ftp_ctrl_response_buffer.cc
@@ -12,6 +12,7 @@
#include "base/strings/string_piece.h"
#include "base/values.h"
#include "net/base/net_errors.h"
+#include "net/log/net_log_event_type.h"
namespace net {
@@ -101,7 +102,7 @@ FtpCtrlResponse FtpCtrlResponseBuffer::PopResponse() {
FtpCtrlResponse result = responses_.front();
responses_.pop();
- net_log_.AddEvent(NetLog::TYPE_FTP_CONTROL_RESPONSE,
+ net_log_.AddEvent(NetLogEventType::FTP_CONTROL_RESPONSE,
base::Bind(&NetLogFtpCtrlResponseCallback, &result));
return result;
« no previous file with comments | « net/filter/sdch_filter.cc ('k') | net/ftp/ftp_network_transaction.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698