refactor: remove redundant CreateExtensionsClient() (#45159)

refactor: remove redundant CreateExtensionsClient() (#45135)
This commit is contained in:
Charles Kerr 2025-01-14 07:57:14 -06:00 committed by GitHub
parent 3f60b86559
commit 9dccc9f4b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 14 deletions

View file

@ -141,13 +141,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_;