Index: chrome/browser/extensions/api/signedin_devices/signedin_devices_api.h |
diff --git a/chrome/browser/extensions/api/signedin_devices/signedin_devices_api.h b/chrome/browser/extensions/api/signedin_devices/signedin_devices_api.h |
index 7ebc64f26aae4e19ef4de676292ea68807fc85bf..2a6f9a1f90dfd3b4bb60767375473db2bf107933 100644 |
--- a/chrome/browser/extensions/api/signedin_devices/signedin_devices_api.h |
+++ b/chrome/browser/extensions/api/signedin_devices/signedin_devices_api.h |
@@ -9,6 +9,7 @@ |
#include <vector> |
#include "base/memory/scoped_vector.h" |
+#include "chrome/browser/extensions/extension_function.h" |
namespace browser_sync { |
class DeviceInfo; |
@@ -36,6 +37,15 @@ ScopedVector<browser_sync::DeviceInfo> GetAllSignedInDevices( |
ProfileSyncService* pss, |
ExtensionPrefs* extension_prefs); |
+class SignedinDevicesGetFunction : public SyncExtensionFunction { |
+ protected: |
+ virtual ~SignedinDevicesGetFunction() {} |
+ |
+ // ExtensionFunction: |
+ virtual bool RunImpl() OVERRIDE; |
+ DECLARE_EXTENSION_FUNCTION("SignedinDevices.get", SIGNEDIN_DEVICES_GET) |
+}; |
+ |
} // namespace extensions |
#endif // CHROME_BROWSER_EXTENSIONS_API_SIGNEDIN_DEVICES_SIGNEDIN_DEVICES_API_H__ |