chromium/chrome/browser/extensions/corrupted_extension_reinstaller_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 "chrome/browser/extensions/corrupted_extension_reinstaller.h"

#include <utility>

#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/test/simple_test_tick_clock.h"
#include "chrome/browser/extensions/extension_service.h"
#include "chrome/browser/extensions/extension_service_test_base.h"
#include "chrome/test/base/testing_profile.h"
#include "extensions/common/mojom/manifest.mojom-shared.h"

namespace extensions {

namespace {
const char kDummyExtensionId[] =;
}

class TestReinstallerTracker {};

CorruptedExtensionReinstallerUnittest;

// Tests that a single extension corruption will keep retrying reinstallation.
TEST_F(CorruptedExtensionReinstallerUnittest, Retry) {}

// Tests that CorruptedExtensionReinstaller doesn't schedule a
// CheckForExternalUpdates() when one is already in-flight through PostTask.
TEST_F(CorruptedExtensionReinstallerUnittest,
       DoNotScheduleWhenAlreadyInflight) {}

}  // namespace extensions