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