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

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, 6 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 383ed4722d12e6018639c3ab9be72cdd729076d0..d16393e85bf2e4c60854f355365e45ecddcfd5fa 100644
--- a/components/arc/arc_service_manager.h
+++ b/components/arc/arc_service_manager.h
@@ -13,12 +13,14 @@
#include "base/task_runner.h"
#include "base/threading/thread_checker.h"
#include "components/arc/intent_helper/activity_icon_loader.h"
+#include "components/prefs/pref_member.h"
#include "components/signin/core/account_id/account_id.h"
namespace arc {
class ArcBridgeService;
class ArcService;
+class ArcUserDataService;
hidehiko 2016/06/14 05:13:01 nit: unnecessary.
// Manages creation and destruction of services that communicate with the ARC
// instance via the ArcBridgeService.
@@ -40,7 +42,9 @@ 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,
+ std::unique_ptr<BooleanPrefMember> arc_enabled_pref);
// Called once the windowing system (ash) has been started.
void OnAshStarted();

Powered by Google App Engine
This is Rietveld 408576698