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

Unified Diff: chrome/browser/net/chrome_net_log.h

Issue 2909016: DevTools & WebTiming : Migrate from PassiveLogCollector to dedicated LoadTimingObserver. (Closed)
Patch Set: Fixed tests. Created 10 years, 5 months 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
« no previous file with comments | « DEPS ('k') | chrome/browser/net/chrome_net_log.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: 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 092be8d9f73d0da6773973603c951d51c902382f..3ae3657b532203d486c12ed37e28f1a8d0272d72 100644
--- a/chrome/browser/net/chrome_net_log.h
+++ b/chrome/browser/net/chrome_net_log.h
@@ -8,6 +8,7 @@
#include "base/observer_list.h"
#include "net/base/net_log.h"
+class LoadTimingObserver;
class PassiveLogCollector;
// ChromeNetLog is an implementation of NetLog that dispatches network log
@@ -51,9 +52,14 @@ class ChromeNetLog : public net::NetLog {
return passive_collector_.get();
}
+ LoadTimingObserver* load_timing_observer() {
+ return load_timing_observer_.get();
+ }
+
private:
uint32 next_id_;
scoped_ptr<PassiveLogCollector> passive_collector_;
+ scoped_ptr<LoadTimingObserver> load_timing_observer_;
ObserverList<Observer, true> observers_;
DISALLOW_COPY_AND_ASSIGN(ChromeNetLog);
« no previous file with comments | « DEPS ('k') | chrome/browser/net/chrome_net_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698