Chromium Code Reviews| Index: components/policy/core/common/remote_commands/remote_command_job.h |
| diff --git a/components/policy/core/common/remote_commands/remote_command_job.h b/components/policy/core/common/remote_commands/remote_command_job.h |
| index dd23747ead94c29fdde8d9af732532c2669998d1..f03466af97e425b544854b53bd069c7602f70c4a 100644 |
| --- a/components/policy/core/common/remote_commands/remote_command_job.h |
| +++ b/components/policy/core/common/remote_commands/remote_command_job.h |
| @@ -37,6 +37,16 @@ class POLICY_EXPORT RemoteCommandJob { |
| TERMINATED, // The job was terminated before finishing by itself. |
| }; |
| + // XXX |
| + class Factory { |
| + public: |
| + virtual ~Factory() {} |
| + |
| + // XXX |
| + virtual scoped_ptr<RemoteCommandJob> BuildJobForType( |
|
bartfab (slow)
2015/01/29 10:18:05
We could just make this a static method of RemoteC
binjin
2015/01/29 10:44:10
I expect chrome and chromeos have different implem
bartfab (slow)
2015/01/29 15:28:58
Good thinking. Yes, the factory will need to be in
|
| + enterprise_management::RemoteCommand_Type type) = 0; |
| + }; |
| + |
| using FinishedCallback = base::Closure; |
| virtual ~RemoteCommandJob(); |