| Index: components/policy/core/common/remote_commands/remote_commands_factory.h | 
| diff --git a/components/policy/core/common/remote_commands/remote_commands_factory.h b/components/policy/core/common/remote_commands/remote_commands_factory.h | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..41a0d7b72bd3e89b62b8a2d2b5b3b516add12321 | 
| --- /dev/null | 
| +++ b/components/policy/core/common/remote_commands/remote_commands_factory.h | 
| @@ -0,0 +1,31 @@ | 
| +// Copyright 2015 The Chromium Authors. All rights reserved. | 
| +// Use of this source code is governed by a BSD-style license that can be | 
| +// found in the LICENSE file. | 
| + | 
| +#ifndef COMPONENTS_POLICY_CORE_COMMON_REMOTE_COMMANDS_REMOTE_COMMANDS_FACTORY_H_ | 
| +#define COMPONENTS_POLICY_CORE_COMMON_REMOTE_COMMANDS_REMOTE_COMMANDS_FACTORY_H_ | 
| + | 
| +#include "base/macros.h" | 
| +#include "base/memory/scoped_ptr.h" | 
| +#include "components/policy/policy_export.h" | 
| +#include "policy/proto/device_management_backend.pb.h" | 
| + | 
| +namespace policy { | 
| + | 
| +class RemoteCommandJob; | 
| + | 
| +// An interface class for creating remote commands based on command type. | 
| +class POLICY_EXPORT RemoteCommandsFactory { | 
| + public: | 
| +  virtual ~RemoteCommandsFactory(); | 
| + | 
| +  virtual scoped_ptr<RemoteCommandJob> BuildJobForType( | 
| +      enterprise_management::RemoteCommand_Type type) = 0; | 
| + | 
| + private: | 
| +  DISALLOW_ASSIGN(RemoteCommandsFactory); | 
| +}; | 
| + | 
| +}  // namespace policy | 
| + | 
| +#endif  // COMPONENTS_POLICY_CORE_COMMON_REMOTE_COMMANDS_REMOTE_COMMANDS_FACTORY_H_ | 
|  |