Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Unified Diff: chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc

Issue 2819413003: Refactor extension app icon. (Closed)
Patch Set: Xiyuan's comments, extra unit tests + fix one more issue with badging Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc
index a2483e545a3a2dd3c7bfcda58f7bfae37e9e31ed..2dcf7214c794358c4544dc5b1f515e17dc2f5a66 100644
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl.cc
@@ -848,14 +848,6 @@ void ChromeLauncherControllerImpl::OnAppInstalled(
UpdateAppLaunchersFromPref();
}
-void ChromeLauncherControllerImpl::OnAppUpdated(
- content::BrowserContext* browser_context,
- const std::string& app_id) {
- AppIconLoader* app_icon_loader = GetAppIconLoaderForApp(app_id);
- if (app_icon_loader)
- app_icon_loader->UpdateImage(app_id);
-}
-
void ChromeLauncherControllerImpl::OnAppUninstalledPrepared(
content::BrowserContext* browser_context,
const std::string& app_id) {

Powered by Google App Engine
This is Rietveld 408576698