| Index: chrome/browser/net/load_timing_observer.h
|
| ===================================================================
|
| --- chrome/browser/net/load_timing_observer.h (revision 66783)
|
| +++ chrome/browser/net/load_timing_observer.h (working copy)
|
| @@ -18,7 +18,10 @@
|
|
|
| // LoadTimingObserver watches the NetLog event stream and collects the network
|
| // timing information.
|
| -class LoadTimingObserver : public ChromeNetLog::Observer {
|
| +//
|
| +// LoadTimingObserver lives completely on the IOThread and ignores events from
|
| +// other threads. It is not safe to use from other threads.
|
| +class LoadTimingObserver : public ChromeNetLog::ThreadSafeObserver {
|
| public:
|
| struct URLRequestRecord {
|
| URLRequestRecord();
|
| @@ -45,7 +48,7 @@
|
|
|
| URLRequestRecord* GetURLRequestRecord(uint32 source_id);
|
|
|
| - // Observer implementation:
|
| + // ThreadSafeObserver implementation:
|
| virtual void OnAddEntry(net::NetLog::EventType type,
|
| const base::TimeTicks& time,
|
| const net::NetLog::Source& source,
|
|
|
| Property changes on: chrome\browser\net\load_timing_observer.h
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|