diff --git a/shell/browser/extensions/atom_extensions_browser_client.cc b/shell/browser/extensions/atom_extensions_browser_client.cc index da7bc02a3df9..21b2a8cff8cc 100644 --- a/shell/browser/extensions/atom_extensions_browser_client.cc +++ b/shell/browser/extensions/atom_extensions_browser_client.cc @@ -233,13 +233,14 @@ AtomExtensionsBrowserClient::GetComponentExtensionResourceManager() { void AtomExtensionsBrowserClient::BroadcastEventToRenderers( extensions::events::HistogramValue histogram_value, const std::string& event_name, - std::unique_ptr args) { + std::unique_ptr args, + bool dispatch_to_off_the_record_profiles) { if (!BrowserThread::CurrentlyOn(BrowserThread::UI)) { base::PostTask( FROM_HERE, {BrowserThread::UI}, base::BindOnce(&AtomExtensionsBrowserClient::BroadcastEventToRenderers, base::Unretained(this), histogram_value, event_name, - std::move(args))); + std::move(args), dispatch_to_off_the_record_profiles)); return; } diff --git a/shell/browser/extensions/atom_extensions_browser_client.h b/shell/browser/extensions/atom_extensions_browser_client.h index a21988d9b999..d5d8935e6650 100644 --- a/shell/browser/extensions/atom_extensions_browser_client.h +++ b/shell/browser/extensions/atom_extensions_browser_client.h @@ -105,7 +105,8 @@ class AtomExtensionsBrowserClient : public extensions::ExtensionsBrowserClient { void BroadcastEventToRenderers( extensions::events::HistogramValue histogram_value, const std::string& event_name, - std::unique_ptr args) override; + std::unique_ptr args, + bool dispatch_to_off_the_record_profiles) override; extensions::ExtensionCache* GetExtensionCache() override; bool IsBackgroundUpdateAllowed() override; bool IsMinBrowserVersionSupported(const std::string& min_version) override;