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: chromeos/dbus/session_manager_client.cc

Issue 2359003004: Disable ACTION_BOOT_COMPLETED event for 3rd party apps. (Closed)
Patch Set: Change load to start. 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 | « chromeos/dbus/session_manager_client.h ('k') | components/arc/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/dbus/session_manager_client.cc
diff --git a/chromeos/dbus/session_manager_client.cc b/chromeos/dbus/session_manager_client.cc
index b8b24739716f9cf1c2f53d79d9860edbbcbe4499..df81dccde03e54b2e9cdfc07a55ee106b4d14cdf 100644
--- a/chromeos/dbus/session_manager_client.cc
+++ b/chromeos/dbus/session_manager_client.cc
@@ -309,12 +309,14 @@ class SessionManagerClientImpl : public SessionManagerClient {
}
void StartArcInstance(const cryptohome::Identification& cryptohome_id,
+ bool disable_boot_completed_broadcast,
const ArcCallback& callback) override {
dbus::MethodCall method_call(
login_manager::kSessionManagerInterface,
login_manager::kSessionManagerStartArcInstance);
dbus::MessageWriter writer(&method_call);
writer.AppendString(cryptohome_id.id());
+ writer.AppendBool(disable_boot_completed_broadcast);
session_manager_proxy_->CallMethod(
&method_call, dbus::ObjectProxy::TIMEOUT_USE_DEFAULT,
base::Bind(&SessionManagerClientImpl::OnArcMethod,
@@ -895,6 +897,7 @@ class SessionManagerClientStubImpl : public SessionManagerClient {
}
void StartArcInstance(const cryptohome::Identification& cryptohome_id,
+ bool disable_boot_completed_broadcast,
const ArcCallback& callback) override {
callback.Run(false);
}
« no previous file with comments | « chromeos/dbus/session_manager_client.h ('k') | components/arc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698