Index: chrome/browser/chromeos/arc/arc_auth_service.cc |
diff --git a/chrome/browser/chromeos/arc/arc_auth_service.cc b/chrome/browser/chromeos/arc/arc_auth_service.cc |
index c20b7401e98994688138b9c3ba3d02006c883521..6ddebb6e9179100668f693e75c26421d496ff2a5 100644 |
--- a/chrome/browser/chromeos/arc/arc_auth_service.cc |
+++ b/chrome/browser/chromeos/arc/arc_auth_service.cc |
@@ -752,6 +752,15 @@ void ArcAuthService::StartArcIfSignedIn() { |
} |
} |
+void ArcAuthService::StopArcAndWipeData() { |
+ clear_required_ = true; |
+ StopArc(); |
+} |
+ |
+void ArcAuthService::RestartArc() { |
+ OnOptInPreferenceChanged(); |
+} |
+ |
std::ostream& operator<<(std::ostream& os, const ArcAuthService::State& state) { |
switch (state) { |
case ArcAuthService::State::NOT_INITIALIZED: |