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

Unified Diff: chrome/browser/ui/ash/launcher/launcher_app_updater.h

Issue 2067943004: ARC: Add badge for Chrome hosted Apps if Arc++ is enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address xiyuan@'s comment. Rebase Created 4 years, 6 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/launcher_app_updater.h
diff --git a/chrome/browser/ui/ash/launcher/launcher_app_updater.h b/chrome/browser/ui/ash/launcher/launcher_app_updater.h
index ef8ae4b365a0c26f7012cc2a7b5c8d16ec843791..fb383e63cef060832383e579ae03e362ffa68d07 100644
--- a/chrome/browser/ui/ash/launcher/launcher_app_updater.h
+++ b/chrome/browser/ui/ash/launcher/launcher_app_updater.h
@@ -19,11 +19,14 @@ class LauncherAppUpdater {
class Delegate {
public:
virtual void OnAppInstalled(content::BrowserContext* browser_context,
- const std::string& app_id) = 0;
+ const std::string& app_id) {}
virtual void OnAppUpdated(content::BrowserContext* browser_context,
- const std::string& app_id) = 0;
+ const std::string& app_id) {}
+ virtual void OnAppUninstalledPrepared(
+ content::BrowserContext* browser_context,
+ const std::string& app_id) {}
virtual void OnAppUninstalled(content::BrowserContext* browser_context,
- const std::string& app_id) = 0;
+ const std::string& app_id) {}
protected:
virtual ~Delegate() {}

Powered by Google App Engine
This is Rietveld 408576698