Skip to content

Commit

Permalink
refactor(extensions): remove unused InitWithBrowserContext method
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmaddock committed Mar 2, 2020
1 parent d0102a3 commit fa5da0f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions shell/browser/extensions/electron_extensions_browser_client.h
Expand Up @@ -31,8 +31,6 @@ namespace electron {

// An ExtensionsBrowserClient that supports a single content::BrowserContext
// with no related incognito context.
// Must be initialized via InitWithBrowserContext() once the BrowserContext is
// created.
class ElectronExtensionsBrowserClient
: public extensions::ExtensionsBrowserClient {
public:
Expand Down Expand Up @@ -121,11 +119,6 @@ class ElectronExtensionsBrowserClient
content::RenderFrameHost* render_frame_host,
const extensions::Extension* extension) const override;

// |context| is the single BrowserContext used for IsValidContext().
// |pref_service| is used for GetPrefServiceForContext().
void InitWithBrowserContext(content::BrowserContext* context,
PrefService* pref_service);

// Sets the API client.
void SetAPIClientForTest(extensions::ExtensionsAPIClient* api_client);

Expand Down

0 comments on commit fa5da0f

Please sign in to comment.