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

Unified Diff: components/arc/arc_service_manager.h

Issue 1966133002: Run RemoveArcData after a user has opted out (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 4 years, 7 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 3dd7740e3719987868c8a711e8a4e93f1f37f54b..6ea172ab8d53e20786ca407767756e918f140f49 100644
--- a/components/arc/arc_service_manager.h
+++ b/components/arc/arc_service_manager.h
@@ -14,10 +14,13 @@
#include "base/threading/thread_checker.h"
#include "components/signin/core/account_id/account_id.h"
+class PrefService;
+
namespace arc {
class ArcBridgeService;
class ArcService;
+class ArcUserDataService;
// Manages creation and destruction of services that communicate with the ARC
// instance via the ArcBridgeService.
@@ -39,7 +42,8 @@ class ArcServiceManager {
static ArcServiceManager* Get();
// Called when the main profile is initialized after user logs in.
- void OnPrimaryUserProfilePrepared(const AccountId& account_id);
+ void OnPrimaryUserProfilePrepared(const AccountId& account_id,
+ PrefService* user_prefs);
// Called once the windowing system (ash) has been started.
void OnAshStarted();
@@ -62,6 +66,7 @@ class ArcServiceManager {
std::unique_ptr<ArcBridgeService> arc_bridge_service_;
std::vector<std::unique_ptr<ArcService>> services_;
+ std::unique_ptr<ArcUserDataService> arc_user_data_service_;
// True once the window manager service got added, barring adding any more
// of those since OnAshStarted() might be called multiple times.

Powered by Google App Engine
This is Rietveld 408576698