| Index: chrome/browser/policy/device_token_fetcher.h
|
| diff --git a/chrome/browser/policy/device_token_fetcher.h b/chrome/browser/policy/device_token_fetcher.h
|
| index fda0ebb8edb7eec41c84ba35484d06b0c47774cd..3215b3c86c6b7a308a8ebfea87e3f7d7e4a63530 100644
|
| --- a/chrome/browser/policy/device_token_fetcher.h
|
| +++ b/chrome/browser/policy/device_token_fetcher.h
|
| @@ -47,7 +47,9 @@ class DeviceTokenFetcher
|
|
|
| // Starts fetching a token.
|
| void FetchToken(const std::string& auth_token,
|
| - const std::string& device_id);
|
| + const std::string& device_id,
|
| + const em::DeviceRegisterRequest_Type policy_type,
|
| + const std::string& machine_id);
|
|
|
| // Returns the device management token or the empty string if not available.
|
| const std::string& GetDeviceToken();
|
| @@ -123,6 +125,10 @@ class DeviceTokenFetcher
|
| std::string auth_token_;
|
| // Device identifier to send to the server.
|
| std::string device_id_;
|
| + // Contains policy type to send to the server.
|
| + em::DeviceRegisterRequest_Type policy_type_;
|
| + // Contains physical machine id to send to the server.
|
| + std::string machine_id_;
|
|
|
| // Task that has been scheduled to retry fetching a token.
|
| CancelableTask* retry_task_;
|
|
|