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

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: 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.cc
diff --git a/components/arc/arc_service_manager.cc b/components/arc/arc_service_manager.cc
index 68f01cb1146e96bb9c8ffe3f17a9c88cd55a79a3..fad024131b767551b4b89d484c6f04360cb34ef1 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"
#include "components/arc/settings/arc_settings_bridge.h"
namespace arc {
@@ -50,4 +51,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