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

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

Issue 2436763004: More graceful shutdown for ArcSession. (Closed)
Patch Set: Add StopArcInstance 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_auth_service_browsertest.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.cc
diff --git a/chrome/browser/chromeos/arc/arc_auth_service.cc b/chrome/browser/chromeos/arc/arc_auth_service.cc
index 1457d49e2c30b50f62111a2532ecfcb9614f18fb..00f012152ec36e34680d35f90d32f3609b5b4f34 100644
--- a/chrome/browser/chromeos/arc/arc_auth_service.cc
+++ b/chrome/browser/chromeos/arc/arc_auth_service.cc
@@ -651,7 +651,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_)
@@ -706,7 +706,7 @@ void ArcAuthService::StopAndEnableArc() {
void ArcAuthService::StartArc() {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
- arc_bridge_service()->HandleStartup();
+ arc_bridge_service()->RequestStart();
SetState(State::ACTIVE);
}
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_auth_service_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698