diff options
author | mmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-10 20:20:32 +0000 |
---|---|---|
committer | mmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-10 20:20:32 +0000 |
commit | 3abacd60fa00bc53d4cf3d28352e855d10533ac0 (patch) | |
tree | 444933dd014250163b78713a4e9d7a9ac8d4356b /chrome/browser/net/net_log_logger.h | |
parent | 8b2d262447607c79fd3b18efa5eb1e5c2efa4cad (diff) | |
download | chromium_src-3abacd60fa00bc53d4cf3d28352e855d10533ac0.zip chromium_src-3abacd60fa00bc53d4cf3d28352e855d10533ac0.tar.gz chromium_src-3abacd60fa00bc53d4cf3d28352e855d10533ac0.tar.bz2 |
Make NetLog take in callbacks that return Values rather
than refcounted objects. Avoids the need to create
classes and copy data. Also no longer get time whenever
an event is logged.
BUG=126243
Review URL: https://chromiumcodereview.appspot.com/10399083
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@141377 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/net/net_log_logger.h')
-rw-r--r-- | chrome/browser/net/net_log_logger.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/chrome/browser/net/net_log_logger.h b/chrome/browser/net/net_log_logger.h index fc54462..0aa69a9 100644 --- a/chrome/browser/net/net_log_logger.h +++ b/chrome/browser/net/net_log_logger.h @@ -34,11 +34,7 @@ class NetLogLogger : public net::NetLog::ThreadSafeObserver { void StartObserving(net::NetLog* net_log); // net::NetLog::ThreadSafeObserver implementation: - virtual void OnAddEntry(net::NetLog::EventType type, - const base::TimeTicks& time, - const net::NetLog::Source& source, - net::NetLog::EventPhase phase, - net::NetLog::EventParameters* params) OVERRIDE; + virtual void OnAddEntry(const net::NetLog::Entry& entry) OVERRIDE; private: ScopedStdioHandle file_; |