| Index: chrome/browser/chromeos/arc/arc_auth_service.h
|
| diff --git a/chrome/browser/chromeos/arc/arc_auth_service.h b/chrome/browser/chromeos/arc/arc_auth_service.h
|
| index 3466f886ad1a252bc28ddfc88d673d6b26ed6c4e..3e726990a9342be916c343b7cd32aafa3327d5d2 100644
|
| --- a/chrome/browser/chromeos/arc/arc_auth_service.h
|
| +++ b/chrome/browser/chromeos/arc/arc_auth_service.h
|
| @@ -181,6 +181,15 @@ class ArcAuthService : public ArcService,
|
| // Stops ARC without changing ArcEnabled preference.
|
| void StopArc();
|
|
|
| + // If arc is running, StopArc(), then StartArc(). Between them
|
| + // data clear may happens.
|
| + void ReenableArc();
|
| +
|
| + // Removes the data if ARC is stopped. Otherwise, queue to remove the data
|
| + // on ARC is stopped.
|
| + void RemoveArcData();
|
| + void OnArcDataRemoved(bool success);
|
| +
|
| // Returns current page that has to be shown in OptIn UI.
|
| UIPage ui_page() const { return ui_page_; }
|
|
|
| @@ -219,6 +228,7 @@ class ArcAuthService : public ArcService,
|
| UIPage ui_page_ = UIPage::NO_PAGE;
|
| base::string16 ui_page_status_;
|
| bool clear_required_ = false;
|
| + bool reenable_arc_ = false;
|
| bool waiting_for_reply_ = false;
|
|
|
| std::unique_ptr<ArcAuthContext> context_;
|
|
|