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

Unified Diff: apps/app_lifetime_monitor.h

Issue 2623273011: Move Chrome terminating notification out of //apps (Closed)
Patch Set: remove DEPS rule Created 3 years, 11 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
« no previous file with comments | « no previous file | apps/app_lifetime_monitor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/app_lifetime_monitor.h
diff --git a/apps/app_lifetime_monitor.h b/apps/app_lifetime_monitor.h
index 8af74c24875fbf3336d58994485855c91bc489d9..7fe1ef5b528effe74ce61557abbd90ae96db1ee3 100644
--- a/apps/app_lifetime_monitor.h
+++ b/apps/app_lifetime_monitor.h
@@ -37,10 +37,6 @@ class AppLifetimeMonitor : public KeyedService,
}
// Called when the app stops running.
virtual void OnAppStop(Profile* profile, const std::string& app_id) {}
- // Called when chrome is about to terminate. This gives observers a chance
- // to do something before the apps shut down. This is a system-wide event
- // so there is no associated profile and app id.
- virtual void OnChromeTerminating() {}
protected:
virtual ~Observer() {}
@@ -73,7 +69,6 @@ class AppLifetimeMonitor : public KeyedService,
void NotifyAppActivated(const std::string& app_id);
void NotifyAppDeactivated(const std::string& app_id);
void NotifyAppStop(const std::string& app_id);
- void NotifyChromeTerminating();
content::NotificationRegistrar registrar_;
Profile* profile_;
« no previous file with comments | « no previous file | apps/app_lifetime_monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698