mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
refactor: move BrowserContextKeyedAPI::Observer::OnExtensionActionAPIShuttingDown() empty function into header
This commit is contained in:
@@ -27,8 +27,6 @@ void ExtensionActionAPI::Observer::OnExtensionActionUpdated(
|
||||
content::WebContents* web_contents,
|
||||
content::BrowserContext* browser_context) {}
|
||||
|
||||
void ExtensionActionAPI::Observer::OnExtensionActionAPIShuttingDown() {}
|
||||
|
||||
ExtensionActionAPI::Observer::~Observer() {}
|
||||
|
||||
//
|
||||
|
||||
@@ -30,7 +30,7 @@ class ExtensionActionAPI : public BrowserContextKeyedAPI {
|
||||
content::WebContents* web_contents,
|
||||
content::BrowserContext* browser_context);
|
||||
|
||||
virtual void OnExtensionActionAPIShuttingDown();
|
||||
virtual void OnExtensionActionAPIShuttingDown() {}
|
||||
|
||||
protected:
|
||||
virtual ~Observer();
|
||||
|
||||
Reference in New Issue
Block a user