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

Unified Diff: components/arc/arc_service_manager.cc

Issue 1477733002: Add ArcNotificationManager for new ARC notification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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.cc
diff --git a/components/arc/arc_service_manager.cc b/components/arc/arc_service_manager.cc
index 2fc0e0014921e6df8a6c5293b06fb4a0dbd50701..ddaae1e55c2f5eba511461a209284aa100159182 100644
--- a/components/arc/arc_service_manager.cc
+++ b/components/arc/arc_service_manager.cc
@@ -9,6 +9,7 @@
#include "components/arc/arc_bridge_bootstrap.h"
#include "components/arc/arc_bridge_service_impl.h"
#include "components/arc/input/arc_input_bridge.h"
+#include "components/arc/notification/arc_notification_manager.h"
namespace arc {
@@ -45,4 +46,11 @@ ArcBridgeService* ArcServiceManager::arc_bridge_service() {
return arc_bridge_service_.get();
}
+void ArcServiceManager::PostProfileInit(const AccountId& account_id) {
+ DCHECK(thread_checker_.CalledOnValidThread());
+
+ arc_notification_manager_.reset(
+ new ArcNotificationManager(arc_bridge_service(), account_id));
+}
+
} // namespace arc

Powered by Google App Engine
This is Rietveld 408576698