From 9319035b01befc8d59c9c1c7f9d83fbe15b0ba79 Mon Sep 17 00:00:00 2001 From: "mmenke@chromium.org" Date: Fri, 13 Aug 2010 13:55:10 +0000 Subject: Redirects NetLog output to the log file, when the command line option "--log-net-log" is used. BUG= 50987 TEST= Run "chrome --log-net-log --enable-logging --log-level=0" And then check to make sure the log contains the NetLog events. Review URL: http://codereview.chromium.org/3040051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56021 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/net/chrome_net_log.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'chrome/browser/net/chrome_net_log.h') diff --git a/chrome/browser/net/chrome_net_log.h b/chrome/browser/net/chrome_net_log.h index 3992671..bee4c62 100644 --- a/chrome/browser/net/chrome_net_log.h +++ b/chrome/browser/net/chrome_net_log.h @@ -11,6 +11,7 @@ #include "net/base/net_log.h" class LoadTimingObserver; +class NetLogLogger; class PassiveLogCollector; // ChromeNetLog is an implementation of NetLog that dispatches network log @@ -62,6 +63,7 @@ class ChromeNetLog : public net::NetLog { uint32 next_id_; scoped_ptr passive_collector_; scoped_ptr load_timing_observer_; + scoped_ptr net_log_logger_; ObserverList observers_; DISALLOW_COPY_AND_ASSIGN(ChromeNetLog); -- cgit v1.1