#include "base/strings/string_number_conversions.h"
#include "base/strings/stringprintf.h"
#include "chrome/browser/sync/test/integration/performance/sync_timing_helper.h"
#include "chrome/browser/sync/test/integration/sessions_helper.h"
#include "chrome/browser/sync/test/integration/sync_test.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_commands.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "content/public/test/browser_test.h"
#include "testing/perf/perf_result_reporter.h"
OpenURLParams;
GetLocalSession;
GetSessionData;
OpenMultipleTabs;
SessionWindowMap;
SyncedSessionVector;
WaitForTabsToLoad;
TimeMutualSyncCycle;
static const int kNumTabs = …;
namespace {
static constexpr char kMetricPrefixSession[] = …;
static constexpr char kMetricAddTabSyncTime[] = …;
static constexpr char kMetricUpdateTabSyncTime[] = …;
static constexpr char kMetricDeleteTabSyncTime[] = …;
perf_test::PerfResultReporter SetUpReporter(const std::string& story) { … }
}
class SessionsSyncPerfTest : public SyncTest { … };
void SessionsSyncPerfTest::AddTabs(int profile, int num_tabs) { … }
void SessionsSyncPerfTest::UpdateTabs(int profile) { … }
int SessionsSyncPerfTest::GetTabCount(int profile) { … }
GURL SessionsSyncPerfTest::NextURL() { … }
GURL SessionsSyncPerfTest::IntToURL(int n) { … }
IN_PROC_BROWSER_TEST_F(SessionsSyncPerfTest, P0) { … }