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

Unified Diff: athena/content/app_activity_registry.h

Issue 548633005: Adding overview / layer framework to Activities so that unloaded / sleeping activities can be shown… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Created 6 years, 3 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: athena/content/app_activity_registry.h
diff --git a/athena/content/app_activity_registry.h b/athena/content/app_activity_registry.h
index c2dbd65a48298dc46bdf1106eae9a573e2f63782..a0f5dbb4a2e1fac3635c962c4c1be3e8d071258c 100644
--- a/athena/content/app_activity_registry.h
+++ b/athena/content/app_activity_registry.h
@@ -74,6 +74,10 @@ class ATHENA_EXPORT AppActivityRegistry {
void RestartApplication(AppActivityProxy* proxy);
private:
+ // Called if an unload of an application should take place asynchronously to
+ // avoid object destruction within an observer handler.
+ void DelayedUnload();
+
// Gets most recently used AppAcitivty that belongs to the same application.
AppActivity* GetMruActivity();

Powered by Google App Engine
This is Rietveld 408576698