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

Unified Diff: components/cronet/android/url_request_context_adapter.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
Index: components/cronet/android/url_request_context_adapter.cc
diff --git a/components/cronet/android/url_request_context_adapter.cc b/components/cronet/android/url_request_context_adapter.cc
index 69e10860c67c874897a0d5a640b57a171553d669..538050e31042dd45b4c67c6283a41416cf36fff9 100644
--- a/components/cronet/android/url_request_context_adapter.cc
+++ b/components/cronet/android/url_request_context_adapter.cc
@@ -316,8 +316,9 @@ void URLRequestContextAdapter::StopNetLogHelper() {
}
void NetLogObserver::OnAddEntry(const net::NetLog::Entry& entry) {
- VLOG(2) << "Net log entry: type=" << entry.type()
- << ", source=" << entry.source().type << ", phase=" << entry.phase();
+ VLOG(2) << "Net log entry: type=" << static_cast<int>(entry.type())
+ << ", source=" << static_cast<int>(entry.source().type)
+ << ", phase=" << static_cast<int>(entry.phase());
}
} // namespace cronet

Powered by Google App Engine
This is Rietveld 408576698