OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_TRACING_NAVIGATION_TRACING_H_ | 5 #ifndef CHROME_BROWSER_TRACING_NAVIGATION_TRACING_H_ |
6 #define CHROME_BROWSER_TRACING_NAVIGATION_TRACING_H_ | 6 #define CHROME_BROWSER_TRACING_NAVIGATION_TRACING_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "content/public/browser/background_tracing_manager.h" | 9 #include "content/public/browser/background_tracing_manager.h" |
10 #include "content/public/browser/web_contents_observer.h" | 10 #include "content/public/browser/web_contents_observer.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 friend class content::WebContentsUserData<NavigationTracingObserver>; | 24 friend class content::WebContentsUserData<NavigationTracingObserver>; |
25 | 25 |
26 explicit NavigationTracingObserver(content::WebContents* web_contents); | 26 explicit NavigationTracingObserver(content::WebContents* web_contents); |
27 | 27 |
28 ~NavigationTracingObserver() override; | 28 ~NavigationTracingObserver() override; |
29 | 29 |
30 // content::WebContentsObserver implementation. | 30 // content::WebContentsObserver implementation. |
31 void DidStartProvisionalLoadForFrame( | 31 void DidStartProvisionalLoadForFrame( |
32 content::RenderFrameHost* render_frame_host, | 32 content::RenderFrameHost* render_frame_host, |
33 const GURL& validated_url, | 33 const GURL& validated_url, |
34 bool is_error_page, | 34 bool is_error_page) override; |
35 bool is_iframe_srcdoc) override; | |
36 | 35 |
37 static content::BackgroundTracingManager::TriggerHandle navigation_handle; | 36 static content::BackgroundTracingManager::TriggerHandle navigation_handle; |
38 | 37 |
39 DISALLOW_COPY_AND_ASSIGN(NavigationTracingObserver); | 38 DISALLOW_COPY_AND_ASSIGN(NavigationTracingObserver); |
40 }; | 39 }; |
41 | 40 |
42 } // namespace tracing | 41 } // namespace tracing |
43 | 42 |
44 #endif // CHROME_BROWSER_TRACING_NAVIGATION_TRACING_H_ | 43 #endif // CHROME_BROWSER_TRACING_NAVIGATION_TRACING_H_ |
OLD | NEW |