Index: chrome/browser/extensions/api/autotest_private/autotest_private_api.cc |
=================================================================== |
--- chrome/browser/extensions/api/autotest_private/autotest_private_api.cc (revision 176046) |
+++ chrome/browser/extensions/api/autotest_private/autotest_private_api.cc (working copy) |
@@ -88,6 +88,12 @@ |
} |
AutotestPrivateAPI::AutotestPrivateAPI() : test_mode_(false) { |
+ ExtensionFunctionRegistry* registry = |
+ ExtensionFunctionRegistry::GetInstance(); |
+ registry->RegisterFunction<AutotestPrivateLogoutFunction>(); |
+ registry->RegisterFunction<AutotestPrivateRestartFunction>(); |
+ registry->RegisterFunction<AutotestPrivateShutdownFunction>(); |
+ registry->RegisterFunction<AutotestPrivateLoginStatusFunction>(); |
} |
AutotestPrivateAPI::~AutotestPrivateAPI() { |