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

Side by Side Diff: athena/task/public/task_manager.h

Issue 302683002: athena: Add the concept of Activity and related managers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ATHENA_TASK_TASK_MANAGER_H_
6 #define ATHENA_TASK_TASK_MANAGER_H_
7
8 #include "athena/athena_export.h"
9
10 namespace athena {
11
12 class Task;
13
14 // Manages a set of tasks.
Mr4D (OOO till 08-26) 2014/05/27 20:12:42 As stated above - could you please explain further
15 class ATHENA_EXPORT TaskManager {
16 public:
17 static TaskManager* Create();
18 static TaskManager* Get();
19 static void Shutdown();
20
21 virtual ~TaskManager() {}
22
23 // Adds/Removes a task.
24 virtual void AddTask(Task* task) = 0;
25 virtual void RemoveTask(Task* task) = 0;
26
27 // Updates the UI when the task color/title changes.
28 virtual void UpdateTask(Task* task) = 0;
29 };
30
31 } // namespace athena
32
33 #endif // ATHENA_TASK_TASK_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698