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

Side by Side Diff: apps/app_lifetime_monitor.h

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 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 unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « android_webview/browser/aw_pref_store.h ('k') | ash/content/display/screen_orientation_controller_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698