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

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: 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..a70c709ca3a5888d3caa3cbdb42908c6dc7b5bee 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,28 @@ class AutotestPrivateGetVisibleNotificationsFunction
ResponseAction Run() override;
};
+class AutotestPrivateGetPlayStoreStateFunction
+ : public UIThreadExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION("autotestPrivate.getPlayStoreState",
+ AUTOTESTPRIVATE_GETPLAYSTORESTATE)
+
+ private:
+ ~AutotestPrivateGetPlayStoreStateFunction() 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();
« no previous file with comments | « chrome/browser/chromeos/arc/arc_util.cc ('k') | chrome/browser/extensions/api/autotest_private/autotest_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698