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

Unified Diff: net/filter/filter.cc

Issue 2315613002: Extracted NetLog class's inner enum types into their own enum classes and (Closed)
Patch Set: 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
Index: net/filter/filter.cc
diff --git a/net/filter/filter.cc b/net/filter/filter.cc
index ea7eca6bc726d8955220fc85120f3f83f3883b6a..9c099173a338c7437111f78185a5e7b9d638dd0b 100644
--- a/net/filter/filter.cc
+++ b/net/filter/filter.cc
@@ -31,6 +31,7 @@
#include "net/filter/brotli_filter.h"
#include "net/filter/gzip_filter.h"
#include "net/filter/sdch_filter.h"
+#include "net/log/net_log_event_type.h"
#include "net/url_request/url_request_context.h"
#include "url/gurl.h"
@@ -58,7 +59,7 @@ void LogSdchProblem(const FilterContext& filter_context,
SdchProblemCode problem) {
SdchManager::SdchErrorRecovery(problem);
filter_context.GetNetLog().AddEvent(
- NetLog::TYPE_SDCH_DECODING_ERROR,
+ NetLogEventType::SDCH_DECODING_ERROR,
base::Bind(&NetLogSdchResourceProblemCallback, problem));
}

Powered by Google App Engine
This is Rietveld 408576698