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

Unified Diff: chrome/common/extensions/api/autotest_private.idl

Issue 2801173002: arc: Provide API to control Play Store state from autotests (Closed)
Patch Set: fix browser test Created 3 years, 8 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: chrome/common/extensions/api/autotest_private.idl
diff --git a/chrome/common/extensions/api/autotest_private.idl b/chrome/common/extensions/api/autotest_private.idl
index be6901c55b7aaa7a2b81b9e86dff36032075e3b4..89d6875be7c0e65a829bb2679d0fbd13485af3d9 100644
--- a/chrome/common/extensions/api/autotest_private.idl
+++ b/chrome/common/extensions/api/autotest_private.idl
@@ -116,5 +116,14 @@ namespace autotestPrivate {
// Get visible notifications on the system.
static void getVisibleNotifications(NotificationArrayCallback callback);
+
+ // Return true if Play Store is currently enabled on device.
+ static boolean isPlayStoreEnabled();
+
+ // Return true if Play Store is managed by policy.
+ static boolean isPlayStoreManaged();
+
+ // Enable or disable Play Store on device.
+ static void setPlayStoreEnabled(boolean enabled);
};
};

Powered by Google App Engine
This is Rietveld 408576698