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

Unified Diff: components/arc/arc_service_manager.h

Issue 1477733002: Add ArcNotificationManager for new ARC notification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved to ui/arc and Addressed comments Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
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_;

Powered by Google App Engine
This is Rietveld 408576698