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

Unified Diff: athena/activity/public/activity_manager.h

Issue 513523002: Adding Baseframework of the ResourceManager (all hooks and observers) are being put in place with a… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Aaaand another rebase Created 6 years, 4 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/activity/public/activity_manager.h
diff --git a/athena/activity/public/activity_manager.h b/athena/activity/public/activity_manager.h
index eec59cafa0ef63cdcf810d9ca5b499d8c4aa8d77..1715cf70fa5479ecb8c42439e117065c65a753f0 100644
--- a/athena/activity/public/activity_manager.h
+++ b/athena/activity/public/activity_manager.h
@@ -10,6 +10,7 @@
namespace athena {
class Activity;
+class ActivityManagerObserver;
// Manages a set of activities.
class ATHENA_EXPORT ActivityManager {
@@ -26,6 +27,9 @@ class ATHENA_EXPORT ActivityManager {
// Updates the UI when the task color/title changes.
virtual void UpdateActivity(Activity* activity) = 0;
+
+ virtual void AddObserver(ActivityManagerObserver* observer) = 0;
+ virtual void RemoveObserver(ActivityManagerObserver* observer) = 0;
};
} // namespace athena

Powered by Google App Engine
This is Rietveld 408576698