chromium/extensions/browser/updater/update_data_provider_unittest.cc

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

#include "extensions/browser/updater/update_data_provider.h"

#include <map>
#include <memory>
#include <optional>
#include <set>
#include <string>
#include <vector>

#include "base/containers/contains.h"
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/functional/bind.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "components/update_client/update_client.h"
#include "extensions/browser/disable_reason.h"
#include "extensions/browser/extension_prefs.h"
#include "extensions/browser/extension_registry.h"
#include "extensions/browser/extension_system.h"
#include "extensions/browser/extensions_test.h"
#include "extensions/browser/test_extensions_browser_client.h"
#include "extensions/browser/updater/extension_installer.h"
#include "extensions/common/extension_builder.h"
#include "extensions/common/extension_id.h"

ManifestLocation;

namespace extensions {

namespace {

class UpdateDataProviderExtensionsBrowserClient
    : public TestExtensionsBrowserClient {};

class UpdateDataProviderTest : public ExtensionsTest {};

TEST_F(UpdateDataProviderTest, GetData_NoDataAdded) {}

TEST_F(UpdateDataProviderTest, GetData_Fingerprint) {}

TEST_F(UpdateDataProviderTest, GetData_EnabledExtension) {}

TEST_F(UpdateDataProviderTest, GetData_EnabledExtensionWithData) {}

TEST_F(UpdateDataProviderTest, GetData_DisabledExtension_WithNoReason) {}

TEST_F(UpdateDataProviderTest, GetData_DisabledExtension_UnknownReason) {}

TEST_F(UpdateDataProviderTest, GetData_DisabledExtension_WithReasons) {}

TEST_F(UpdateDataProviderTest,
       GetData_DisabledExtension_WithReasonsAndUnknownReason) {}

TEST_F(UpdateDataProviderTest, GetData_MultipleExtensions) {}

TEST_F(UpdateDataProviderTest, GetData_MultipleExtensions_DisabledExtension) {}

TEST_F(UpdateDataProviderTest,
       GetData_MultipleExtensions_NotInstalledExtension) {}

TEST_F(UpdateDataProviderTest, GetData_MultipleExtensions_CorruptExtension) {}

TEST_F(UpdateDataProviderTest, GetData_InstallImmediately) {}

TEST_F(UpdateDataProviderTest, GetData_Pending_Version) {}

}  // namespace

}  // namespace extensions