| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef APPS_APP_LIFETIME_MONITOR_H_ | 5 #ifndef APPS_APP_LIFETIME_MONITOR_H_ |
| 6 #define APPS_APP_LIFETIME_MONITOR_H_ | 6 #define APPS_APP_LIFETIME_MONITOR_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 bool HasOtherVisibleAppWindows(extensions::AppWindow* app_window) const; | 74 bool HasOtherVisibleAppWindows(extensions::AppWindow* app_window) const; |
| 75 | 75 |
| 76 void NotifyAppStart(const std::string& app_id); | 76 void NotifyAppStart(const std::string& app_id); |
| 77 void NotifyAppActivated(const std::string& app_id); | 77 void NotifyAppActivated(const std::string& app_id); |
| 78 void NotifyAppDeactivated(const std::string& app_id); | 78 void NotifyAppDeactivated(const std::string& app_id); |
| 79 void NotifyAppStop(const std::string& app_id); | 79 void NotifyAppStop(const std::string& app_id); |
| 80 void NotifyChromeTerminating(); | 80 void NotifyChromeTerminating(); |
| 81 | 81 |
| 82 content::NotificationRegistrar registrar_; | 82 content::NotificationRegistrar registrar_; |
| 83 Profile* profile_; | 83 Profile* profile_; |
| 84 ObserverList<Observer> observers_; | 84 base::ObserverList<Observer> observers_; |
| 85 | 85 |
| 86 DISALLOW_COPY_AND_ASSIGN(AppLifetimeMonitor); | 86 DISALLOW_COPY_AND_ASSIGN(AppLifetimeMonitor); |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 } // namespace apps | 89 } // namespace apps |
| 90 | 90 |
| 91 #endif // APPS_APP_LIFETIME_MONITOR_H_ | 91 #endif // APPS_APP_LIFETIME_MONITOR_H_ |
| OLD | NEW |