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

Unified Diff: chromeos/dbus/session_manager_client.h

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/mock_session_manager_client.h ('k') | chromeos/dbus/session_manager_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..ee142aad64cd384fafa03c44ef9c46683b5c2d7c 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_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_boot_completed_broadcast,
const ArcCallback& callback) = 0;
// Asynchronously stops the ARC instance. Upon completion, invokes
« no previous file with comments | « chromeos/dbus/mock_session_manager_client.h ('k') | chromeos/dbus/session_manager_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698