refactor: remove redundant CreateExtensionsClient() (#45135)

This commit is contained in:
Charles Kerr 2025-01-08 10:36:08 -06:00 committed by GitHub
parent da8288106b
commit 59ed1db9a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 14 deletions

View file

@ -139,13 +139,6 @@ class RendererClientBase : public content::ContentRendererClient
bool was_created_by_renderer,
const url::Origin* outermost_origin) override;
protected:
#if BUILDFLAG(ENABLE_ELECTRON_EXTENSIONS)
// app_shell embedders may need custom extensions client interfaces.
// This class takes ownership of the returned object.
virtual extensions::ExtensionsClient* CreateExtensionsClient();
#endif
private:
#if BUILDFLAG(ENABLE_ELECTRON_EXTENSIONS)
std::unique_ptr<extensions::ExtensionsClient> extensions_client_;