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

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: Update inline comments. Created 7 years, 11 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..e4c79c0e83c0458451c8532964990a0ba562e1d4 100644
--- a/chrome/browser/chromeos/extensions/echo_private_api.h
+++ b/chrome/browser/chromeos/extensions/echo_private_api.h
@@ -34,4 +34,17 @@ class GetOobeTimestampFunction : public AsyncExtensionFunction {
DECLARE_EXTENSION_FUNCTION("echoPrivate.getOobeTimestamp",
ECHOPRIVATE_GETOOBETIMESTAMP)
};
+
+class IsEchoDisabledFunction : public SyncExtensionFunction {
Mattias Nissler (ping if slow) 2013/02/04 09:06:19 I don't see why this shouldn't better be named IsE
oscarpan 2013/02/05 00:17:47 Done.
+ public:
+ IsEchoDisabledFunction();
+
+ protected:
+ virtual ~IsEchoDisabledFunction();
+ virtual bool RunImpl() OVERRIDE;
+
+ private:
+ DECLARE_EXTENSION_FUNCTION("echoPrivate.isEchoDisabled",
+ ECHOPRIVATE_ISECHODISABLED)
+};
#endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_ECHO_PRIVATE_API_H_

Powered by Google App Engine
This is Rietveld 408576698