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

Unified Diff: chrome/browser/extensions/api/webstore_private/webstore_private_api.h

Issue 1948133004: CWS Private API - isPendingCustodianApproval (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@kid_initiated_install
Patch Set: Response to code review by Marc Created 4 years, 6 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 | « no previous file | chrome/browser/extensions/api/webstore_private/webstore_private_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/webstore_private/webstore_private_api.h
diff --git a/chrome/browser/extensions/api/webstore_private/webstore_private_api.h b/chrome/browser/extensions/api/webstore_private/webstore_private_api.h
index 4e2c4b2dd702d6ed474d324bca3a408dc0bb023c..4611eb46f6354d9fffad60558cf3dc6fd8035d38 100644
--- a/chrome/browser/extensions/api/webstore_private/webstore_private_api.h
+++ b/chrome/browser/extensions/api/webstore_private/webstore_private_api.h
@@ -288,6 +288,26 @@ class WebstorePrivateGetEphemeralAppsEnabledFunction
ExtensionFunction::ResponseAction Run() override;
};
+class WebstorePrivateIsExtensionPendingCustodianApprovalFunction
+ : public UIThreadExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION(
+ "webstorePrivate.isExtensionPendingCustodianApproval",
+ WEBSTOREPRIVATE_ISEXTENSIONPENDINGCUSTODIANAPPROVAL)
+
+ WebstorePrivateIsExtensionPendingCustodianApprovalFunction();
+
+ private:
+ ~WebstorePrivateIsExtensionPendingCustodianApprovalFunction() override;
+
+ // ExtensionFunction:
+ ExtensionFunction::ResponseAction Run() override;
+
+ ChromeExtensionFunctionDetails chrome_details_;
+
+ ExtensionFunction::ResponseValue BuildResponse(bool result);
Marc Treib 2016/06/29 12:01:09 Methods go before members
mamir 2016/06/29 12:26:22 Ooops, sorry. Done!
+};
+
} // namespace extensions
#endif // CHROME_BROWSER_EXTENSIONS_API_WEBSTORE_PRIVATE_WEBSTORE_PRIVATE_API_H_
« no previous file with comments | « no previous file | chrome/browser/extensions/api/webstore_private/webstore_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698