chromium/chrome/browser/extensions/fake_crx_installer.h

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

#ifndef CHROME_BROWSER_EXTENSIONS_FAKE_CRX_INSTALLER_H_
#define CHROME_BROWSER_EXTENSIONS_FAKE_CRX_INSTALLER_H_

#include "chrome/browser/extensions/crx_installer.h"
#include "testing/gmock/include/gmock/gmock.h"

namespace extensions {

// A fake CrxInstaller.
//
// Has InstallCrxFile as a NOOP, letting test code
// decide when to call RunInstallerCallbacks to fake installation
// completion.
class FakeCrxInstaller : public CrxInstaller {};

}  // namespace extensions

#endif  // CHROME_BROWSER_EXTENSIONS_FAKE_CRX_INSTALLER_H_