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

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

Issue 83173007: Fixing M32 crasher where closing of a windowed V1 app on a visiting desktop will cause crashes late… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Created 7 years, 1 month 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/multi_profile_browser_status_monitor.h
diff --git a/chrome/browser/ui/ash/launcher/multi_profile_browser_status_monitor.h b/chrome/browser/ui/ash/launcher/multi_profile_browser_status_monitor.h
index f6c1857343c31aa84b77734332837818911ade5b..2ce371a461d98aced119779fb60979aee70d79ee 100644
--- a/chrome/browser/ui/ash/launcher/multi_profile_browser_status_monitor.h
+++ b/chrome/browser/ui/ash/launcher/multi_profile_browser_status_monitor.h
@@ -7,7 +7,7 @@
#include "chrome/browser/ui/ash/launcher/browser_status_monitor.h"
-// MultiProfileBrowserStatusMonitor uses mainly the BrowserStatusMonitormonitor
+// MultiProfileBrowserStatusMonitor uses mainly the BrowserStatusMonitor
// with the addition that it creates and destroys launcher items for windowed
// V1 apps - upon creation as well as upon user switch.
class MultiProfileBrowserStatusMonitor : public BrowserStatusMonitor {
@@ -25,6 +25,12 @@ class MultiProfileBrowserStatusMonitor : public BrowserStatusMonitor {
typedef std::vector<Browser*> AppList;
AppList app_list_;
+ // Connect a V1 app to the launcher.
+ void ConnectV1AppToLauncher(Browser* browser);
+
+ // Disconnect a V1 app from the launcher.
+ void DisconnectV1AppFromLauncher(Browser* browser);
+
// The launcher controller which is associated with this object.
ChromeLauncherController* launcher_controller_;

Powered by Google App Engine
This is Rietveld 408576698