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

Unified Diff: apps/app_restore_service.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 | « apps/app_lifetime_monitor.cc ('k') | apps/app_restore_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/app_restore_service.h
diff --git a/apps/app_restore_service.h b/apps/app_restore_service.h
index fec9ed79295c640cb3c6697a681950c04ffb3823..72f5769b36b8512739758ba02d23e7966041cf5c 100644
--- a/apps/app_restore_service.h
+++ b/apps/app_restore_service.h
@@ -38,6 +38,9 @@ class AppRestoreService : public KeyedService,
// running when Chrome was last terminated.
bool IsAppRestorable(const std::string& extension_id);
+ // Called to notify that the application has begun to exit.
+ void OnApplicationTerminating();
+
static AppRestoreService* Get(Profile* profile);
private:
@@ -46,7 +49,6 @@ class AppRestoreService : public KeyedService,
void OnAppActivated(Profile* profile, const std::string& app_id) override;
void OnAppDeactivated(Profile* profile, const std::string& app_id) override;
void OnAppStop(Profile* profile, const std::string& app_id) override;
- void OnChromeTerminating() override;
// KeyedService.
void Shutdown() override;
« no previous file with comments | « apps/app_lifetime_monitor.cc ('k') | apps/app_restore_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698