#include "chrome/browser/sessions/session_restore_observer.h"
#include <set>
#include <vector>
#include "base/memory/raw_ptr.h"
#include "chrome/browser/browser_process.h"
#include "chrome/browser/resource_coordinator/tab_helper.h"
#include "chrome/browser/resource_coordinator/tab_load_tracker.h"
#include "chrome/browser/resource_coordinator/tab_manager.h"
#include "chrome/browser/sessions/session_restore.h"
#include "chrome/browser/sessions/session_restore_stats_collector.h"
#include "chrome/browser/sessions/tab_loader.h"
#include "chrome/test/base/chrome_render_view_host_test_harness.h"
#include "content/public/browser/navigation_controller.h"
#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/web_contents_tester.h"
WebContentsTester;
TabLoadTracker;
LoadingState;
namespace {
const char kDefaultUrl[] = …;
}
class MockSessionRestoreObserver : public SessionRestoreObserver { … };
class SessionRestoreObserverTest : public ChromeRenderViewHostTestHarness { … };
TEST_F(SessionRestoreObserverTest, SingleSessionRestore) { … }
TEST_F(SessionRestoreObserverTest, SequentialSessionRestores) { … }
TEST_F(SessionRestoreObserverTest, ConcurrentSessionRestores) { … }