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

Unified Diff: chrome/browser/net/net_log_logger.cc

Issue 11635023: First cut at UI for saving net_logs data into a temporary file on (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years 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: chrome/browser/net/net_log_logger.cc
===================================================================
--- chrome/browser/net/net_log_logger.cc (revision 173622)
+++ chrome/browser/net/net_log_logger.cc (working copy)
@@ -43,6 +43,10 @@
net_log->AddThreadSafeObserver(this, net::NetLog::LOG_ALL_BUT_BYTES);
}
+void NetLogLogger::StopObserving(net::NetLog* net_log) {
mmenke 2012/12/27 20:43:05 No need to take a net_log as a parameter here. Ca
ramant (doing other things) 2013/01/04 01:47:28 Done.
+ net_log->RemoveThreadSafeObserver(this);
+}
+
void NetLogLogger::OnAddEntry(const net::NetLog::Entry& entry) {
scoped_ptr<Value> value(entry.ToValue());
// Don't pretty print, so each JSON value occupies a single line, with no

Powered by Google App Engine
This is Rietveld 408576698