| Index: chrome/browser/resource_coordinator/tab_manager_web_contents_data.h
|
| diff --git a/chrome/browser/resource_coordinator/tab_manager_web_contents_data.h b/chrome/browser/resource_coordinator/tab_manager_web_contents_data.h
|
| index 3ccce436a133c9583823d4c350191994715988e7..8cbe85baf5509e54612bd1528051500bc5924174 100644
|
| --- a/chrome/browser/resource_coordinator/tab_manager_web_contents_data.h
|
| +++ b/chrome/browser/resource_coordinator/tab_manager_web_contents_data.h
|
| @@ -57,6 +57,8 @@ class TabManager::WebContentsData
|
| void DidStopLoading() override;
|
| void DidStartNavigation(
|
| content::NavigationHandle* navigation_handle) override;
|
| + void DidFinishNavigation(
|
| + content::NavigationHandle* navigation_handle) override;
|
| void WebContentsDestroyed() override;
|
|
|
| // Returns true if the tab has been discarded to save memory.
|
| @@ -122,6 +124,11 @@ class TabManager::WebContentsData
|
| // Returns the time to first purge after the tab is backgrounded.
|
| base::TimeDelta time_to_purge() const { return time_to_purge_; }
|
|
|
| + // Sets the tab loading state.
|
| + void SetTabLoadingState(TabLoadingState state) {
|
| + tab_data_.tab_loading_state = state;
|
| + }
|
| +
|
| // Returns the TabLoadingState of the tab.
|
| TabLoadingState tab_loading_state() const {
|
| return tab_data_.tab_loading_state;
|
| @@ -165,11 +172,6 @@ class TabManager::WebContentsData
|
| // for more details.
|
| base::TimeTicks NowTicks() const;
|
|
|
| - // Sets the tab loading state.
|
| - void SetTabLoadingState(TabLoadingState state) {
|
| - tab_data_.tab_loading_state = state;
|
| - }
|
| -
|
| // Contains all the needed data for the tab.
|
| Data tab_data_;
|
|
|
|
|