From 42514326cac2a59eeb70eaef2a999df78da37956 Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Sat, 5 Apr 2025 10:44:18 -0500 Subject: [PATCH] refactor: remove unused `electron::api::App::FileIconCallback` (#46510) refactor: remove electron::api::App::FileIconCallback last use removed in 2018 by 3f15f516 Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Charles Kerr --- shell/browser/api/electron_api_app.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/shell/browser/api/electron_api_app.h b/shell/browser/api/electron_api_app.h index 6a208950bd22..cc079ef5bebf 100644 --- a/shell/browser/api/electron_api_app.h +++ b/shell/browser/api/electron_api_app.h @@ -34,10 +34,6 @@ namespace base { class FilePath; } -namespace gfx { -class Image; -} - namespace gin { template class Handle; @@ -65,9 +61,6 @@ class App final : public ElectronBrowserClient::Delegate, private content::GpuDataManagerObserver, private content::BrowserChildProcessObserver { public: - using FileIconCallback = - base::RepeatingCallback, const gfx::Image&)>; - static gin::Handle Create(v8::Isolate* isolate); static App* Get();