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

Unified Diff: net/base/net_log.h

Issue 7084007: Adds URLRequestJob bytes read to NetLog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync Created 9 years, 7 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/base/net_log.h
===================================================================
--- net/base/net_log.h (revision 87467)
+++ net/base/net_log.h (working copy)
@@ -202,6 +202,11 @@
void EndEventWithNetErrorCode(NetLog::EventType event_type,
int net_error) const;
+ // Logs a byte transfer event to the NetLog. Determines whether to log the
+ // received bytes or not based on the current logging level.
+ void AddByteTransferEvent(NetLog::EventType event_type,
+ int byte_count, char* bytes) const;
+
NetLog::LogLevel GetLogLevel() const;
// Returns true if the log level is LOG_ALL.

Powered by Google App Engine
This is Rietveld 408576698