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

Unified Diff: chrome/browser/chromeos/extensions/echo_private_api.h

Issue 12147004: Disable/enable echo for enterprise device. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 7 years, 10 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/chromeos/extensions/echo_private_api.h
diff --git a/chrome/browser/chromeos/extensions/echo_private_api.h b/chrome/browser/chromeos/extensions/echo_private_api.h
index 8e813992e676cdbacabe45f7d9512701287e19ac..3d66afc3159677b6d517d546d3eea02ce4431174 100644
--- a/chrome/browser/chromeos/extensions/echo_private_api.h
+++ b/chrome/browser/chromeos/extensions/echo_private_api.h
@@ -34,4 +34,18 @@ class GetOobeTimestampFunction : public AsyncExtensionFunction {
DECLARE_EXTENSION_FUNCTION("echoPrivate.getOobeTimestamp",
ECHOPRIVATE_GETOOBETIMESTAMP)
};
+
+class AllowRedeemOffersFunction : public AsyncExtensionFunction {
+ public:
+ AllowRedeemOffersFunction();
+
+ protected:
+ virtual ~AllowRedeemOffersFunction();
+ virtual bool RunImpl() OVERRIDE;
+
+ private:
+ void AllowRedeemOffersCallback();
+ DECLARE_EXTENSION_FUNCTION("echoPrivate.allowRedeemOffers",
+ ECHOPRIVATE_ALLOWREDEEMOFFERS)
+};
#endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_ECHO_PRIVATE_API_H_

Powered by Google App Engine
This is Rietveld 408576698