Index: ui/app_list/app_list_view_delegate_observer.h |
diff --git a/ui/app_list/app_list_view_delegate_observer.h b/ui/app_list/app_list_view_delegate_observer.h |
index a612334e69e75b864fbb8c69e9ed5381009165a4..abc4fe4a42bfb0d86675160b0e658c415f1d9545 100644 |
--- a/ui/app_list/app_list_view_delegate_observer.h |
+++ b/ui/app_list/app_list_view_delegate_observer.h |
@@ -15,6 +15,11 @@ class APP_LIST_EXPORT AppListViewDelegateObserver { |
// profile changes its signin status. |
virtual void OnProfilesChanged() = 0; |
+ // Invoked on Chrome shutdown. This is only needed on Mac, since reference- |
+ // counting in Objective-C means that simply closing the window isn't enough |
+ // to guarantee references to Chrome objects are gone. |
+ virtual void OnShutdown() = 0; |
+ |
protected: |
virtual ~AppListViewDelegateObserver() {} |
}; |