chromium/chrome/browser/sync/test/integration/two_client_extension_settings_sync_test.cc

// Copyright 2024 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/stringprintf.h"
#include "build/chromeos_buildflags.h"
#include "chrome/browser/extensions/scoped_test_mv2_enabler.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/sync/test/integration/extension_settings_helper.h"
#include "chrome/browser/sync/test/integration/extensions_helper.h"
#include "chrome/browser/sync/test/integration/sync_datatype_helper.h"
#include "chrome/browser/sync/test/integration/sync_test.h"
#include "components/sync/base/features.h"
#include "components/sync/service/sync_service_impl.h"
#include "content/public/test/browser_test.h"

#if BUILDFLAG(IS_CHROMEOS_ASH)
#include "ash/constants/ash_features.h"
#endif

namespace {

AllExtensionSettingsSameAsVerifier;
SetExtensionSettings;
SetExtensionSettingsForAllProfiles;
InstallExtensionForAllProfiles;
test;

// Generic mutations done after the initial setup of all tests. Note that
// unfortuately we can't test existing configurations of the sync server since
// the tests don't support that.
void MutateSomeSettings(
    int seed,  // used to modify the mutation values, not keys.
    const std::string& extension0,
    const std::string& extension1,
    const std::string& extension2) {}

class TwoClientExtensionSettingsSyncTest : public SyncTest {};

IN_PROC_BROWSER_TEST_F(TwoClientExtensionSettingsSyncTest,
                       ExtensionsStartWithSameSettings) {}

IN_PROC_BROWSER_TEST_F(TwoClientExtensionSettingsSyncTest,
                       ExtensionsStartWithDifferentSettings) {}

}  // namespace