chromium/chrome/browser/sync/test/integration/performance/extensions_sync_perf_test.cc

// Copyright 2012 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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;

// TODO(braffert): Replicate these tests for apps.

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) {}

}  // namespace

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) {}