| Index: content/browser/frame_host/navigator.h
|
| diff --git a/content/browser/frame_host/navigator.h b/content/browser/frame_host/navigator.h
|
| index cfd394f0d9408606abae1a13c77eb66c9bb53652..5063faf20e525e5bd01b3ea71cf92b5dca876cfd 100644
|
| --- a/content/browser/frame_host/navigator.h
|
| +++ b/content/browser/frame_host/navigator.h
|
| @@ -141,6 +141,12 @@ class CONTENT_EXPORT Navigator : public base::RefCounted<Navigator> {
|
| virtual void LogResourceRequestTime(
|
| base::TimeTicks timestamp, const GURL& url) {};
|
|
|
| + // Called to record the time it took to execute the before unload hook for the
|
| + // current navigation.
|
| + virtual void LogBeforeUnloadTime(
|
| + const base::TimeTicks& renderer_before_unload_start_time,
|
| + const base::TimeTicks& renderer_before_unload_end_time) {}
|
| +
|
| protected:
|
| friend class base::RefCounted<Navigator>;
|
| virtual ~Navigator() {}
|
|
|