Chromium Code Reviews| Index: chrome/browser/net/passive_log_collector.cc |
| =================================================================== |
| --- chrome/browser/net/passive_log_collector.cc (revision 87467) |
| +++ chrome/browser/net/passive_log_collector.cc (working copy) |
| @@ -423,7 +423,9 @@ |
| // to summarize transaction read/writes for each SOCKET_IN_USE |
| // section. |
| if (entry.type == net::NetLog::TYPE_SOCKET_BYTES_SENT || |
| - entry.type == net::NetLog::TYPE_SOCKET_BYTES_RECEIVED) { |
| + entry.type == net::NetLog::TYPE_SOCKET_BYTES_RECEIVED || |
| + entry.type == net::NetLog::TYPE_SSL_SOCKET_BYTES_SENT || |
|
eroman
2011/06/01 19:27:01
good spot!
|
| + entry.type == net::NetLog::TYPE_SSL_SOCKET_BYTES_RECEIVED) { |
| return ACTION_NONE; |
| } |
| @@ -457,6 +459,10 @@ |
| AddReferenceToSourceDependency(source_dependency, out_info); |
| } |
| + // Don't keep read bytes around in the log, to save memory. |
| + if (entry.type == net::NetLog::TYPE_URL_REQUEST_JOB_FILTERED_BYTES_READ) |
| + return ACTION_NONE; |
| + |
| AddEntryToSourceInfo(entry, out_info); |
| // If the request has ended, move it to the graveyard. |