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

Unified Diff: chrome/browser/chromeos/arc/arc_auth_service.h

Issue 2501013002: Refactor ArcSupportHost and ArcAuthService part2. (Closed)
Patch Set: rebase Created 4 years, 1 month 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_auth_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a8c07c5889fbcc2abba765367c9a0f6f3aaa4bcf..9ba105cbeb00e2be42807b3d5b3606c3e8485f2b 100644
--- a/chrome/browser/chromeos/arc/arc_auth_service.h
+++ b/chrome/browser/chromeos/arc/arc_auth_service.h
@@ -240,12 +240,6 @@ class ArcAuthService : public ArcService,
// on ARC is stopped.
void RemoveArcData();
- // Returns current page that has to be shown in OptIn UI.
- ArcSupportHost::UIPage ui_page() const { return ui_page_; }
-
- // Returns current page status, relevant to the specific page.
- const base::string16& ui_page_status() const { return ui_page_status_; }
-
ArcSupportHost* support_host() { return support_host_.get(); }
void StartArc();
@@ -255,14 +249,8 @@ class ArcAuthService : public ArcService,
class AccountInfoNotifier;
// TODO(hidehiko): move UI methods/fields to ArcSupportHost.
- void ShowUI(ArcSupportHost::UIPage page, const base::string16& status);
- void CloseUI();
- void SetUIPage(ArcSupportHost::UIPage page, const base::string16& status);
void SetState(State state);
void ShutdownBridge();
- void ShutdownBridgeAndCloseUI();
- void ShutdownBridgeAndShowUI(ArcSupportHost::UIPage page,
- const base::string16& status);
void OnOptInPreferenceChanged();
void StartUI();
void OnAndroidManagementPassed();
@@ -298,8 +286,6 @@ class ArcAuthService : public ArcService,
State state_ = State::NOT_INITIALIZED;
base::ObserverList<Observer> observer_list_;
std::unique_ptr<ArcAppLauncher> playstore_launcher_;
- ArcSupportHost::UIPage ui_page_ = ArcSupportHost::UIPage::NO_PAGE;
- base::string16 ui_page_status_;
bool clear_required_ = false;
bool reenable_arc_ = false;
base::OneShotTimer arc_sign_in_timer_;
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_auth_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698