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

Side by Side Diff: chrome/browser/chromeos/policy/remote_commands/device_command_fetch_status_job.h

Issue 2765463002: Remote fetch device status (attributes and logs) command (Closed)
Patch Set: Addressed Drew's comments, treating StatusUploader and SystemLogUploader as one 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_REMOTE_COMMANDS_DEVICE_COMMAND_FETCH_STAT US_JOB_H_
6 #define CHROME_BROWSER_CHROMEOS_POLICY_REMOTE_COMMANDS_DEVICE_COMMAND_FETCH_STAT US_JOB_H_
7
8 #include <string>
9
10 #include "base/macros.h"
11 #include "components/policy/core/common/remote_commands/remote_command_job.h"
12
13 namespace policy {
14
15 class DeviceCommandFetchStatusJob : public RemoteCommandJob {
16 public:
17 DeviceCommandFetchStatusJob();
18 ~DeviceCommandFetchStatusJob() override;
19
20 // RemoteCommandJob:
21 enterprise_management::RemoteCommand_Type GetType() const override;
22 base::TimeDelta GetCommmandTimeout() const override;
23
24 protected:
25 // RemoteCommandJob:
26 bool IsExpired(base::TimeTicks now) override;
27 void RunImpl(const CallbackWithResult& succeeded_callback,
28 const CallbackWithResult& failed_callback) override;
29
30 private:
31 DISALLOW_COPY_AND_ASSIGN(DeviceCommandFetchStatusJob);
32 };
33
34 } // namespace policy
35
36 #endif // CHROME_BROWSER_CHROMEOS_POLICY_REMOTE_COMMANDS_DEVICE_COMMAND_FETCH_S TATUS_JOB_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698