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

Unified Diff: components/arc/arc_session.cc

Issue 2869163002: Refactor dbus SessionManagerInterface.StartArcInterface (Closed)
Patch Set: rebase Created 3 years, 7 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 | « components/arc/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/arc_session.cc
diff --git a/components/arc/arc_session.cc b/components/arc/arc_session.cc
index 62c9e3325d9bfae06b83e8d12b98f9455192463e..5cd62ef7583e6929538ea240f5196fc64983b21a 100644
--- a/components/arc/arc_session.cc
+++ b/components/arc/arc_session.cc
@@ -369,18 +369,18 @@ void ArcSessionImpl::OnSocketCreated(
const cryptohome::Identification cryptohome_id(
user_manager->GetPrimaryUser()->GetAccountId());
- bool disable_boot_completed_broadcast =
+ const bool skip_boot_completed_broadcast =
!base::FeatureList::IsEnabled(arc::kBootCompletedBroadcastFeature);
// We only enable /vendor/priv-app when voice interaction is enabled because
// voice interaction service apk would be bundled in this location.
- bool enable_vendor_privileged =
+ const bool scan_vendor_priv_app =
chromeos::switches::IsVoiceInteractionEnabled();
chromeos::SessionManagerClient* session_manager_client =
chromeos::DBusThreadManager::Get()->GetSessionManagerClient();
session_manager_client->StartArcInstance(
- cryptohome_id, disable_boot_completed_broadcast, enable_vendor_privileged,
+ cryptohome_id, skip_boot_completed_broadcast, scan_vendor_priv_app,
base::Bind(&ArcSessionImpl::OnInstanceStarted, weak_factory_.GetWeakPtr(),
base::Passed(&socket_fd)));
}
« no previous file with comments | « components/arc/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698