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

Unified Diff: chrome/browser/chromeos/policy/remote_commands/device_command_reboot_job.h

Issue 2065343003: Remove 10 minute cooldown period when remote rebooting a kiosk device. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove TerminateImpl Created 4 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/policy/remote_commands/device_command_reboot_job.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/policy/remote_commands/device_command_reboot_job.h
diff --git a/chrome/browser/chromeos/policy/remote_commands/device_command_reboot_job.h b/chrome/browser/chromeos/policy/remote_commands/device_command_reboot_job.h
index a3b78dc719e499ca11feb492efcff50af69468ca..892c5a3c93098857165b5e9652c302dd8501d657 100644
--- a/chrome/browser/chromeos/policy/remote_commands/device_command_reboot_job.h
+++ b/chrome/browser/chromeos/policy/remote_commands/device_command_reboot_job.h
@@ -6,8 +6,6 @@
#define CHROME_BROWSER_CHROMEOS_POLICY_REMOTE_COMMANDS_DEVICE_COMMAND_REBOOT_JOB_H_
#include "base/macros.h"
-#include "base/memory/weak_ptr.h"
-#include "base/timer/timer.h"
#include "components/policy/core/common/remote_commands/remote_command_job.h"
namespace chromeos {
@@ -32,17 +30,10 @@ class DeviceCommandRebootJob : public RemoteCommandJob {
bool IsExpired(base::TimeTicks now) override;
void RunImpl(const CallbackWithResult& succeeded_callback,
const CallbackWithResult& failed_callback) override;
- void TerminateImpl() override;
base::TimeDelta GetCommmandTimeout() const override;
- void Reboot() const;
-
chromeos::PowerManagerClient* power_manager_client_;
- base::OneShotTimer reboot_timer_;
-
- base::WeakPtrFactory<DeviceCommandRebootJob> weak_ptr_factory_;
-
DISALLOW_COPY_AND_ASSIGN(DeviceCommandRebootJob);
};
« no previous file with comments | « no previous file | chrome/browser/chromeos/policy/remote_commands/device_command_reboot_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698