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

Unified Diff: chrome/browser/extensions/api/autotest_private/autotest_private_api.h

Issue 2801173002: arc: Provide API to control Play Store state from autotests (Closed)
Patch Set: handle attempt to enabled policy disabled ARC, nits 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/browser/extensions/api/autotest_private/autotest_private_api.h
diff --git a/chrome/browser/extensions/api/autotest_private/autotest_private_api.h b/chrome/browser/extensions/api/autotest_private/autotest_private_api.h
index a84c368557d419f291a95717bc2d88927ecdb889..097649459e96c3cae3492397d83e0a4747d0715c 100644
--- a/chrome/browser/extensions/api/autotest_private/autotest_private_api.h
+++ b/chrome/browser/extensions/api/autotest_private/autotest_private_api.h
@@ -172,6 +172,39 @@ class AutotestPrivateGetVisibleNotificationsFunction
ResponseAction Run() override;
};
+class AutotestPrivateIsPlayStoreEnabledFunction
+ : public UIThreadExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION("autotestPrivate.isPlayStoreEnabled",
+ AUTOTESTPRIVATE_ISPLAYSTOREENABLED)
+
+ private:
+ ~AutotestPrivateIsPlayStoreEnabledFunction() override {}
+ ResponseAction Run() override;
+};
+
+class AutotestPrivateIsPlayStoreManagedFunction
+ : public UIThreadExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION("autotestPrivate.isPlayStoreManaged",
+ AUTOTESTPRIVATE_ISPLAYSTOREMANAGED)
+
+ private:
+ ~AutotestPrivateIsPlayStoreManagedFunction() override {}
+ ResponseAction Run() override;
+};
+
+class AutotestPrivateSetPlayStoreEnabledFunction
+ : public UIThreadExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION("autotestPrivate.setPlayStoreEnabled",
+ AUTOTESTPRIVATE_SETPLAYSTOREENABLED)
+
+ private:
+ ~AutotestPrivateSetPlayStoreEnabledFunction() override {}
+ ResponseAction Run() override;
+};
+
// Don't kill the browser when we're in a browser test.
void SetAutotestPrivateTest();

Powered by Google App Engine
This is Rietveld 408576698