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

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: Sync dependencies 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
« no previous file with comments | « components/arc/DEPS ('k') | components/arc/arc_service_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/arc_service_manager.h
diff --git a/components/arc/arc_service_manager.h b/components/arc/arc_service_manager.h
index 278b1e12ef2e10fb8ebba58cb5c862fca5ec43ba..0eaa7464f6a6d1c049d396ec2fcdbc194d3f1911 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 ArcPowerBridge;
class ArcSettingsBridge;
class ArcVideoBridge;
@@ -36,6 +38,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_;
@@ -44,6 +49,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_;
scoped_ptr<ArcVideoBridge> arc_video_bridge_;
« no previous file with comments | « components/arc/DEPS ('k') | components/arc/arc_service_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698