#include "base/strings/string_number_conversions.h"
#include "chrome/browser/sync/test/integration/extensions_helper.h"
#include "chrome/browser/sync/test/integration/performance/sync_timing_helper.h"
#include "chrome/browser/sync/test/integration/sync_test.h"
#include "content/public/test/browser_test.h"
#include "testing/perf/perf_result_reporter.h"
DisableExtension;
EnableExtension;
GetInstalledExtensions;
InstallExtension;
InstallExtensionsPendingForSync;
IsExtensionEnabled;
UninstallExtension;
TimeMutualSyncCycle;
static const int kNumExtensions = …;
namespace {
constexpr char kMetricPrefixExtensions[] = …;
constexpr char kMetricAddExtensionsSyncTime[] = …;
constexpr char kMetricUpdateExtensionsSyncTime[] = …;
constexpr char kMetricDeleteExtensionsSyncTime[] = …;
perf_test::PerfResultReporter SetUpReporter(const std::string& story) { … }
}
class ExtensionsSyncPerfTest : public SyncTest { … };
void ExtensionsSyncPerfTest::AddExtensions(int profile, int num_extensions) { … }
void ExtensionsSyncPerfTest::UpdateExtensions(int profile) { … }
int ExtensionsSyncPerfTest::GetExtensionCount(int profile) { … }
void ExtensionsSyncPerfTest::RemoveExtensions(int profile) { … }
IN_PROC_BROWSER_TEST_F(ExtensionsSyncPerfTest, P0) { … }