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

Unified Diff: chrome/browser/chromeos/policy/remote_commands/device_commands_factory_chromeos.cc

Issue 2765463002: Remote fetch device status (attributes and logs) command (Closed)
Patch Set: Created 3 years, 9 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/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;
}

Powered by Google App Engine
This is Rietveld 408576698