| Index: chrome/browser/chromeos/arc/arc_service_launcher.h
|
| diff --git a/chrome/browser/chromeos/arc/arc_service_launcher.h b/chrome/browser/chromeos/arc/arc_service_launcher.h
|
| index 7d912bbb5dc1bfcd7f89bd5841e078a36949af1a..8fef6c1ab26185306e6f05b1c5b424177e1d313e 100644
|
| --- a/chrome/browser/chromeos/arc/arc_service_launcher.h
|
| +++ b/chrome/browser/chromeos/arc/arc_service_launcher.h
|
| @@ -8,21 +8,36 @@
|
| #include <memory>
|
|
|
| #include "base/macros.h"
|
| -#include "components/arc/arc_service_manager.h"
|
| +
|
| +class Profile;
|
|
|
| namespace arc {
|
|
|
| +class ArcServiceManager;
|
| +class ArcSessionManager;
|
| +
|
| // Detects ARC availability and launches ARC bridge service.
|
| class ArcServiceLauncher {
|
| public:
|
| ArcServiceLauncher();
|
| ~ArcServiceLauncher();
|
|
|
| + // This is to access OnPrimaryUserProfilePrepared() only.
|
| + static ArcServiceLauncher* Get();
|
| +
|
| + // Called before the main MessageLooop starts.
|
| void Initialize();
|
| +
|
| + // Called after the main MessageLoop stops, but before the Profile is
|
| + // destroyed.
|
| void Shutdown();
|
|
|
| + // Called when the main profile is initialized after user logs in.
|
| + void OnPrimaryUserProfilePrepared(Profile* profile);
|
| +
|
| private:
|
| std::unique_ptr<ArcServiceManager> arc_service_manager_;
|
| + std::unique_ptr<ArcSessionManager> arc_session_manager_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ArcServiceLauncher);
|
| };
|
|
|