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

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

Issue 2436763004: More graceful shutdown for ArcSession. (Closed)
Patch Set: Created 4 years, 2 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: 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 a5e680699ccbe8b9f55c2b1aa7be7e9d142f4d2a..96a36627543e7eee7ec7eda08cbab10f7072e591 100644
--- a/chrome/browser/chromeos/arc/arc_auth_service.cc
+++ b/chrome/browser/chromeos/arc/arc_auth_service.cc
@@ -636,7 +636,7 @@ void ArcAuthService::ShutdownBridge() {
auth_account_callback_.Reset();
android_management_checker_.reset();
auth_code_fetcher_.reset();
- arc_bridge_service()->Shutdown();
+ arc_bridge_service()->RequestStop();
if (state_ != State::NOT_INITIALIZED)
SetState(State::STOPPED);
for (auto& observer : observer_list_)
@@ -691,7 +691,7 @@ void ArcAuthService::StopAndEnableArc() {
void ArcAuthService::StartArc() {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
- arc_bridge_service()->HandleStartup();
+ arc_bridge_service()->RequestStart();
SetState(State::ACTIVE);
}

Powered by Google App Engine
This is Rietveld 408576698