Chromium Code Reviews| Index: components/arc/arc_service_manager.h |
| diff --git a/components/arc/arc_service_manager.h b/components/arc/arc_service_manager.h |
| index 0bc481f8afe04f08cb0b7055ac04030b899860c5..640604198ff8100be461fab46fd490facebaf97b 100644 |
| --- a/components/arc/arc_service_manager.h |
| +++ b/components/arc/arc_service_manager.h |
| @@ -8,11 +8,13 @@ |
| #include "base/macros.h" |
| #include "base/memory/scoped_ptr.h" |
| #include "base/threading/thread_checker.h" |
| +#include "components/signin/core/account_id/account_id.h" |
| namespace arc { |
| class ArcBridgeService; |
| class ArcInputBridge; |
| +class ArcNotificationManager; |
| class ArcSettingsBridge; |
| class ArcPowerBridge; |
| @@ -20,7 +22,7 @@ class ArcPowerBridge; |
| // instance via the ArcBridgeService. |
| class ArcServiceManager { |
| public: |
| - explicit ArcServiceManager(scoped_ptr<ArcSettingsBridge> settings_bridge); |
| + ArcServiceManager(scoped_ptr<ArcSettingsBridge> settings_bridge); |
|
hidehiko
2016/01/05 11:41:32
explicit needs to be kept?
yoshiki
2016/01/06 08:50:17
Done. I had removed wrongly...
|
| virtual ~ArcServiceManager(); |
| // |arc_bridge_service| can only be accessed on the thread that this |
| @@ -31,10 +33,14 @@ class ArcServiceManager { |
| // called on the thread that this class was created on. |
| static ArcServiceManager* Get(); |
| + // Called when the main profile is initialized after user logs-in. |
| + void OnPrimaryUserProfilePrepared(const AccountId& account_id); |
| + |
| private: |
| base::ThreadChecker thread_checker_; |
| scoped_ptr<ArcBridgeService> arc_bridge_service_; |
| scoped_ptr<ArcInputBridge> arc_input_bridge_; |
| + scoped_ptr<ArcNotificationManager> arc_notification_manager_; |
| scoped_ptr<ArcSettingsBridge> arc_settings_bridge_; |
| scoped_ptr<ArcPowerBridge> arc_power_bridge_; |