diff options
author | mmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-13 13:55:10 +0000 |
---|---|---|
committer | mmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-13 13:55:10 +0000 |
commit | 9319035b01befc8d59c9c1c7f9d83fbe15b0ba79 (patch) | |
tree | 4f871697a10d9e6b46630571edb298982b550d42 /chrome/browser/net/chrome_net_log.h | |
parent | 0e6fd884e68670a70a857d092b79fb7e71bf3856 (diff) | |
download | chromium_src-9319035b01befc8d59c9c1c7f9d83fbe15b0ba79.zip chromium_src-9319035b01befc8d59c9c1c7f9d83fbe15b0ba79.tar.gz chromium_src-9319035b01befc8d59c9c1c7f9d83fbe15b0ba79.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/net/chrome_net_log.h')
-rw-r--r-- | chrome/browser/net/chrome_net_log.h | 2 |
1 files changed, 2 insertions, 0 deletions
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<PassiveLogCollector> passive_collector_; scoped_ptr<LoadTimingObserver> load_timing_observer_; + scoped_ptr<NetLogLogger> net_log_logger_; ObserverList<Observer, true> observers_; DISALLOW_COPY_AND_ASSIGN(ChromeNetLog); |