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 "content/public/browser/background_tracing_manager.h" | 9 #include "content/public/browser/background_tracing_manager.h" |
9 #include "content/public/browser/web_contents_observer.h" | 10 #include "content/public/browser/web_contents_observer.h" |
10 #include "content/public/browser/web_contents_user_data.h" | 11 #include "content/public/browser/web_contents_user_data.h" |
11 | 12 |
12 namespace tracing { | 13 namespace tracing { |
13 | 14 |
14 void SetupNavigationTracing(); | 15 void SetupNavigationTracing(); |
15 | 16 |
16 class NavigationTracingObserver | 17 class NavigationTracingObserver |
17 : public content::WebContentsObserver, | 18 : public content::WebContentsObserver, |
(...skipping 16 matching lines...) Expand all Loading... |
34 bool is_iframe_srcdoc) override; | 35 bool is_iframe_srcdoc) override; |
35 | 36 |
36 static content::BackgroundTracingManager::TriggerHandle navigation_handle; | 37 static content::BackgroundTracingManager::TriggerHandle navigation_handle; |
37 | 38 |
38 DISALLOW_COPY_AND_ASSIGN(NavigationTracingObserver); | 39 DISALLOW_COPY_AND_ASSIGN(NavigationTracingObserver); |
39 }; | 40 }; |
40 | 41 |
41 } // namespace tracing | 42 } // namespace tracing |
42 | 43 |
43 #endif // CHROME_BROWSER_TRACING_NAVIGATION_TRACING_H_ | 44 #endif // CHROME_BROWSER_TRACING_NAVIGATION_TRACING_H_ |
OLD | NEW |