#include "extensions/browser/mock_extension_system.h"
#include "components/value_store/value_store_factory.h"
#include "extensions/common/extension_id.h"
#include "extensions/common/extension_set.h"
namespace extensions {
MockExtensionSystem::MockExtensionSystem(content::BrowserContext* context)
: … { … }
MockExtensionSystem::~MockExtensionSystem() = default;
void MockExtensionSystem::SetReady() { … }
void MockExtensionSystem::InitForRegularProfile(bool extensions_enabled) { … }
ExtensionService* MockExtensionSystem::extension_service() { … }
ManagementPolicy* MockExtensionSystem::management_policy() { … }
ServiceWorkerManager* MockExtensionSystem::service_worker_manager() { … }
UserScriptManager* MockExtensionSystem::user_script_manager() { … }
StateStore* MockExtensionSystem::state_store() { … }
StateStore* MockExtensionSystem::rules_store() { … }
StateStore* MockExtensionSystem::dynamic_user_scripts_store() { … }
scoped_refptr<value_store::ValueStoreFactory>
MockExtensionSystem::store_factory() { … }
QuotaService* MockExtensionSystem::quota_service() { … }
AppSorting* MockExtensionSystem::app_sorting() { … }
const base::OneShotEvent& MockExtensionSystem::ready() const { … }
bool MockExtensionSystem::is_ready() const { … }
ContentVerifier* MockExtensionSystem::content_verifier() { … }
std::unique_ptr<ExtensionSet> MockExtensionSystem::GetDependentExtensions(
const Extension* extension) { … }
void MockExtensionSystem::InstallUpdate(
const ExtensionId& extension_id,
const std::string& public_key,
const base::FilePath& temp_dir,
bool install_immediately,
InstallUpdateCallback install_update_callback) { … }
void MockExtensionSystem::PerformActionBasedOnOmahaAttributes(
const ExtensionId& extension_id,
const base::Value::Dict& attributes) { … }
bool MockExtensionSystem::FinishDelayedInstallationIfReady(
const ExtensionId& extension_id,
bool install_immediately) { … }
}