0
Files
src/extensions/browser/extension_system.cc
Solomon Kinard b948df3566 Extensions: CodeHealth: Use = default to define a trivial constructor
clang-tidymodernize-use-equals-default

Bug: chromium:346952289
Change-Id: Ifc6f27831865c99febe3cdc6ac2d1c2af118845e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6158781
Commit-Queue: Solomon Kinard <solomonkinard@chromium.org>
Reviewed-by: David Bertoni <dbertoni@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1403894}
2025-01-08 15:37:11 -08:00

26 lines
736 B
C++

// Copyright 2014 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/extension_system.h"
#include "components/keyed_service/content/browser_context_keyed_service_factory.h"
#include "extensions/browser/extension_system_provider.h"
#include "extensions/browser/extensions_browser_client.h"
namespace extensions {
ExtensionSystem::ExtensionSystem() = default;
ExtensionSystem::~ExtensionSystem() {
}
// static
ExtensionSystem* ExtensionSystem::Get(content::BrowserContext* context) {
return ExtensionsBrowserClient::Get()
->GetExtensionSystemFactory()
->GetForBrowserContext(context);
}
} // namespace extensions