Chromium Code Reviews| 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 1ecf8408e293f4ce27bc43dfbede7b35a5b6641a..b7edcc0ef0af8d634345377a60bb51609db37387 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 |
| @@ -44,6 +47,17 @@ class CloudPolicyIdentityStrategy { |
| // Returns the device ID for this device. |
|
Mattias Nissler (ping if slow)
2011/03/01 10:25:49
Can we add a sentence here saying how the device I
gfeher
2011/03/01 15:53:00
Done.
|
| 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. |