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

Unified Diff: components/arc/arc_service_manager.cc

Issue 2165643004: arc: add enterprise_reporting.mojom interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed crash error. Created 4 years, 5 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.cc
diff --git a/components/arc/arc_service_manager.cc b/components/arc/arc_service_manager.cc
index 48de389a758f3c969ed72d21adc7b10c176d22c7..4a026bd031190b27d258eb75f61801ed0d5952fa 100644
--- a/components/arc/arc_service_manager.cc
+++ b/components/arc/arc_service_manager.cc
@@ -23,8 +23,6 @@
#include "components/arc/obb_mounter/arc_obb_mounter_bridge.h"
#include "components/arc/power/arc_power_bridge.h"
#include "components/arc/storage_manager/arc_storage_manager.h"
-#include "components/arc/user_data/arc_user_data_service.h"
-#include "components/prefs/pref_member.h"
#include "ui/arc/notification/arc_notification_manager.h"
namespace arc {
@@ -96,13 +94,9 @@ void ArcServiceManager::AddService(std::unique_ptr<ArcService> service) {
}
void ArcServiceManager::OnPrimaryUserProfilePrepared(
- const AccountId& account_id,
- std::unique_ptr<BooleanPrefMember> arc_enabled_pref) {
+ const AccountId& account_id) {
DCHECK(thread_checker_.CalledOnValidThread());
- AddService(base::WrapUnique(new ArcUserDataService(
- arc_bridge_service(), std::move(arc_enabled_pref), account_id)));
-
AddService(base::WrapUnique(
new ArcNotificationManager(arc_bridge_service(), account_id)));
}

Powered by Google App Engine
This is Rietveld 408576698