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

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 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 75686d078fd6ecf3db1d7694662cdd3bcb172dfc..87153f4f982705d7b097c2c711e606b698478d62 100644
--- a/components/arc/arc_service_manager.h
+++ b/components/arc/arc_service_manager.h
@@ -8,6 +8,7 @@
#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 {
@@ -15,6 +16,7 @@ class ArcAuthService;
class ArcBridgeService;
class ArcClipboardBridge;
class ArcInputBridge;
+class ArcNotificationManager;
class ArcSettingsBridge;
class ArcPowerBridge;
@@ -34,6 +36,9 @@ 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_;
@@ -42,6 +47,7 @@ class ArcServiceManager {
scoped_ptr<ArcAuthService> arc_auth_service_;
scoped_ptr<ArcClipboardBridge> arc_clipboard_bridge_;
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