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

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: Rebased and formatted Created 5 years 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 07d62731d42a0c748edd7f78545f8960907f84c4..7d0fb3ba1bdcdca7fd54f03e073938c2893d4fcb 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;
// Manages creation and destruction of services that communicate with the ARC
@@ -30,10 +32,14 @@ class ArcServiceManager {
// called on the thread that this class was created on.
static ArcServiceManager* Get();
+ // Called the main profile is initialized after user logs-in.
hidehiko 2015/12/22 08:51:26 nit: "// Called when the main profile is ..." ?
yoshiki 2015/12/22 10:13:53 Done.
+ void PostProfileInit(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_;
DISALLOW_COPY_AND_ASSIGN(ArcServiceManager);

Powered by Google App Engine
This is Rietveld 408576698