#include "chrome/browser/ui/tabs/tab_activity_simulator.h"
#include "base/check.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/navigation_simulator.h"
#include "content/public/test/web_contents_tester.h"
TabActivitySimulator::TabActivitySimulator() = default;
TabActivitySimulator::~TabActivitySimulator() = default;
void TabActivitySimulator::Navigate(content::WebContents* web_contents,
const GURL& url,
ui::PageTransition page_transition) { … }
std::unique_ptr<content::WebContents> TabActivitySimulator::CreateWebContents(
content::BrowserContext* browser_context,
bool initially_visible) { … }
content::WebContents* TabActivitySimulator::AddWebContentsAndNavigate(
TabStripModel* tab_strip_model,
const GURL& initial_url,
ui::PageTransition page_transition) { … }
void TabActivitySimulator::SwitchToTabAt(TabStripModel* tab_strip_model,
int new_index) { … }