Index: chrome/browser/chromeos/policy/remote_commands/device_commands_factory_chromeos.cc |
diff --git a/chrome/browser/chromeos/policy/remote_commands/device_commands_factory_chromeos.cc b/chrome/browser/chromeos/policy/remote_commands/device_commands_factory_chromeos.cc |
index 9614e80f58b8a7ab98a13de654ba29754231edf4..de461e56db0059a85692878de1610db33a7bb758 100644 |
--- a/chrome/browser/chromeos/policy/remote_commands/device_commands_factory_chromeos.cc |
+++ b/chrome/browser/chromeos/policy/remote_commands/device_commands_factory_chromeos.cc |
@@ -8,6 +8,7 @@ |
#include "base/memory/ptr_util.h" |
#include "base/threading/sequenced_worker_pool.h" |
+#include "chrome/browser/chromeos/policy/remote_commands/device_command_fetch_status_job.h" |
#include "chrome/browser/chromeos/policy/remote_commands/device_command_reboot_job.h" |
#include "chrome/browser/chromeos/policy/remote_commands/device_command_screenshot_job.h" |
#include "chrome/browser/chromeos/policy/remote_commands/device_command_set_volume_job.h" |
@@ -42,6 +43,9 @@ DeviceCommandsFactoryChromeOS::BuildJobForType(em::RemoteCommand_Type type) { |
case em::RemoteCommand_Type_DEVICE_SET_VOLUME: |
return base::WrapUnique<RemoteCommandJob>( |
new DeviceCommandSetVolumeJob()); |
+ case em::RemoteCommand_Type_DEVICE_FETCH_STATUS: |
+ return base::WrapUnique<RemoteCommandJob>( |
+ new DeviceCommandFetchStatusJob()); |
default: |
return nullptr; |
} |