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

Unified Diff: chromeos/dbus/session_manager_client.h

Issue 2359003004: Disable ACTION_BOOT_COMPLETED event for 3rd party apps. (Closed)
Patch Set: Fix Daniel's comments 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: chromeos/dbus/session_manager_client.h
diff --git a/chromeos/dbus/session_manager_client.h b/chromeos/dbus/session_manager_client.h
index 86e66b1692be5466b5e79e5077c62990c95a03a3..e7ddd390a1ac08a972ed91fc1dcd9be938097017 100644
--- a/chromeos/dbus/session_manager_client.h
+++ b/chromeos/dbus/session_manager_client.h
@@ -229,10 +229,13 @@ class CHROMEOS_EXPORT SessionManagerClient : public DBusClient {
virtual void CheckArcAvailability(const ArcCallback& callback) = 0;
// Asynchronously starts the ARC instance for the user whose cryptohome is
- // located by |cryptohome_id|. Upon completion, invokes |callback| with
- // the result; true on success, false on failure (either session manager
- // failed to start an instance or session manager can not be reached).
+ // located by |cryptohome_id|. Flag |disable_arc_boot_completed_broadcast|
+ // blocks Android ACTION_BOOT_COMPLETED broadcast for 3rd party applications.
+ // Upon completion, invokes |callback| with the result; true on success, false
+ // on failure (either session manager failed to start an instance or session
+ // manager can not be reached).
virtual void StartArcInstance(const cryptohome::Identification& cryptohome_id,
+ bool disable_arc_boot_completed_broadcast,
const ArcCallback& callback) = 0;
// Asynchronously stops the ARC instance. Upon completion, invokes

Powered by Google App Engine
This is Rietveld 408576698