refactor: remove redundant CreateExtensionsClient() (#45155)
* refactor: have CreateExtensionsClient return a unique_ptr, not a raw pointer Co-authored-by: Charles Kerr <charles@charleskerr.com> * refactor: remove CreateExtensionsClient() Co-authored-by: Charles Kerr <charles@charleskerr.com> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr <charles@charleskerr.com>
This commit is contained in:
parent
1ecc57465d
commit
bc00450a31
2 changed files with 1 additions and 14 deletions
|
@ -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_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue