| Index: chrome/browser/policy/cloud_policy_identity_strategy.h
|
| diff --git a/chrome/browser/policy/cloud_policy_identity_strategy.h b/chrome/browser/policy/cloud_policy_identity_strategy.h
|
| index 681d80acd21f9884f36bc3e1be3b0c80d20f4310..6864587da00021a94d5d57d46fbb0c60485e8403 100644
|
| --- a/chrome/browser/policy/cloud_policy_identity_strategy.h
|
| +++ b/chrome/browser/policy/cloud_policy_identity_strategy.h
|
| @@ -9,9 +9,12 @@
|
| #include <string>
|
|
|
| #include "base/observer_list.h"
|
| +#include "chrome/browser/policy/proto/device_management_backend.pb.h"
|
|
|
| namespace policy {
|
|
|
| +namespace em = enterprise_management;
|
| +
|
| // Manages a device management token, i.e. an identifier that represents a
|
| // registration with the device management service, and the associated
|
| // credentials. Responsibilities include storing and loading the token from
|
| @@ -49,6 +52,17 @@ class CloudPolicyIdentityStrategy {
|
| // Returns the device ID for this device.
|
| virtual std::string GetDeviceID() = 0;
|
|
|
| + // Returns physical machine ID for this device.
|
| + virtual std::string GetMachineID() = 0;
|
| +
|
| + // Returns the policy type to be used for registering at the device management
|
| + // server.
|
| + virtual em::DeviceRegisterRequest_Type GetPolicyRegisterType() = 0;
|
| +
|
| + // Returns the policy type to be used for requesting policies from the device
|
| + // management server.
|
| + virtual std::string GetPolicyType() = 0;
|
| +
|
| // Retrieves authentication credentials to use when talking to the device
|
| // management service. Returns true if the data is available and writes the
|
| // values to the provided pointers.
|
|
|