#ifndef CHROME_BROWSER_RESOURCE_COORDINATOR_TAB_LOAD_TRACKER_TEST_SUPPORT_H_
#define CHROME_BROWSER_RESOURCE_COORDINATOR_TAB_LOAD_TRACKER_TEST_SUPPORT_H_
#include "build/build_config.h"
#include "chrome/browser/resource_coordinator/tab_load_tracker.h"
class TabStripModel;
namespace content {
class WebContents;
}
namespace resource_coordinator {
bool WaitForTransitionToLoadingState(
content::WebContents* contents,
TabLoadTracker::LoadingState loading_state);
bool WaitForTransitionToUnloaded(content::WebContents* contents);
bool WaitForTransitionToLoading(content::WebContents* contents);
bool WaitForTransitionToLoaded(content::WebContents* contents);
bool WaitUntilNoLongerTracked(content::WebContents* contents);
#if !BUILDFLAG(IS_ANDROID)
bool WaitForTransitionToLoadingState(
TabStripModel* tab_strip,
TabLoadTracker::LoadingState loading_state);
bool WaitForTransitionToUnloaded(TabStripModel* tab_strip);
bool WaitForTransitionToLoading(TabStripModel* tab_strip);
bool WaitForTransitionToLoaded(TabStripModel* tab_strip);
#endif
}
#endif