OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 ATHENA_MAIN_ATHENA_LAUNCHER_H_ | 5 #ifndef ATHENA_MAIN_ATHENA_LAUNCHER_H_ |
6 #define ATHENA_MAIN_ATHENA_LAUNCHER_H_ | 6 #define ATHENA_MAIN_ATHENA_LAUNCHER_H_ |
7 | 7 |
| 8 #include "base/memory/ref_counted.h" |
| 9 |
| 10 namespace base { |
| 11 class TaskRunner; |
| 12 } |
| 13 |
8 namespace aura { | 14 namespace aura { |
9 class Window; | 15 class Window; |
10 } | 16 } |
11 | 17 |
12 namespace content { | 18 namespace content { |
13 class BrowserContext; | 19 class BrowserContext; |
14 } | 20 } |
15 | 21 |
16 namespace athena { | 22 namespace athena { |
17 class ActivityFactory; | 23 class ActivityFactory; |
18 class AppModelBuilder; | 24 class AppModelBuilder; |
19 class ScreenManagerDelegate; | 25 class ScreenManagerDelegate; |
20 | 26 |
21 // Starts/shuts down the athena shell environment. | 27 // Starts/shuts down the athena shell environment. |
22 void StartAthenaEnv(aura::Window* root_window, | 28 void StartAthenaEnv(aura::Window* root_window, |
23 ScreenManagerDelegate* screen_manager_delegate); | 29 ScreenManagerDelegate* screen_manager_delegate, |
| 30 scoped_refptr<base::TaskRunner> file_runner); |
24 | 31 |
25 void StartAthenaSessionWithContext(content::BrowserContext* context); | 32 void StartAthenaSessionWithContext(content::BrowserContext* context); |
26 | 33 |
27 // Starts/shuts down the athena shell environment. | 34 // Starts/shuts down the athena shell environment. |
28 void StartAthenaSession(ActivityFactory* activity_factory, | 35 void StartAthenaSession(ActivityFactory* activity_factory, |
29 AppModelBuilder* app_model_builder); | 36 AppModelBuilder* app_model_builder); |
30 | 37 |
31 void ShutdownAthena(); | 38 void ShutdownAthena(); |
32 | 39 |
33 } // namespace athena | 40 } // namespace athena |
34 | 41 |
35 #endif // ATHENA_MAIN_ATHENA_LAUNCHER_H_ | 42 #endif // ATHENA_MAIN_ATHENA_LAUNCHER_H_ |
OLD | NEW |