OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_PAGE_LOAD_METRICS_PAGE_LOAD_TRACKER_H_ | 5 #ifndef CHROME_BROWSER_PAGE_LOAD_METRICS_PAGE_LOAD_TRACKER_H_ |
6 #define CHROME_BROWSER_PAGE_LOAD_METRICS_PAGE_LOAD_TRACKER_H_ | 6 #define CHROME_BROWSER_PAGE_LOAD_METRICS_PAGE_LOAD_TRACKER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 const GURL& currently_committed_url, | 200 const GURL& currently_committed_url, |
201 content::NavigationHandle* navigation_handle, | 201 content::NavigationHandle* navigation_handle, |
202 UserInitiatedInfo user_initiated_info, | 202 UserInitiatedInfo user_initiated_info, |
203 int aborted_chain_size, | 203 int aborted_chain_size, |
204 int aborted_chain_size_same_url); | 204 int aborted_chain_size_same_url); |
205 ~PageLoadTracker(); | 205 ~PageLoadTracker(); |
206 void Redirect(content::NavigationHandle* navigation_handle); | 206 void Redirect(content::NavigationHandle* navigation_handle); |
207 void WillProcessNavigationResponse( | 207 void WillProcessNavigationResponse( |
208 content::NavigationHandle* navigation_handle); | 208 content::NavigationHandle* navigation_handle); |
209 void Commit(content::NavigationHandle* navigation_handle); | 209 void Commit(content::NavigationHandle* navigation_handle); |
| 210 void DidCommitSameDocumentNavigation( |
| 211 content::NavigationHandle* navigation_handle); |
210 void DidFinishSubFrameNavigation( | 212 void DidFinishSubFrameNavigation( |
211 content::NavigationHandle* navigation_handle); | 213 content::NavigationHandle* navigation_handle); |
212 void FailedProvisionalLoad(content::NavigationHandle* navigation_handle, | 214 void FailedProvisionalLoad(content::NavigationHandle* navigation_handle, |
213 base::TimeTicks failed_load_time); | 215 base::TimeTicks failed_load_time); |
214 void WebContentsHidden(); | 216 void WebContentsHidden(); |
215 void WebContentsShown(); | 217 void WebContentsShown(); |
216 | 218 |
217 void OnInputEvent(const blink::WebInputEvent& event); | 219 void OnInputEvent(const blink::WebInputEvent& event); |
218 | 220 |
219 // Flush any buffered metrics, as part of the metrics subsystem persisting | 221 // Flush any buffered metrics, as part of the metrics subsystem persisting |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 // Navigation start offsets for the most recently committed document in each | 434 // Navigation start offsets for the most recently committed document in each |
433 // frame. | 435 // frame. |
434 std::map<FrameTreeNodeId, base::TimeDelta> subframe_navigation_start_offset_; | 436 std::map<FrameTreeNodeId, base::TimeDelta> subframe_navigation_start_offset_; |
435 | 437 |
436 DISALLOW_COPY_AND_ASSIGN(PageLoadTracker); | 438 DISALLOW_COPY_AND_ASSIGN(PageLoadTracker); |
437 }; | 439 }; |
438 | 440 |
439 } // namespace page_load_metrics | 441 } // namespace page_load_metrics |
440 | 442 |
441 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_PAGE_LOAD_TRACKER_H_ | 443 #endif // CHROME_BROWSER_PAGE_LOAD_METRICS_PAGE_LOAD_TRACKER_H_ |
OLD | NEW |