| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_ENROLLMENT_HANDLER_CHROMEOS_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_ENROLLMENT_HANDLER_CHROMEOS_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_POLICY_ENROLLMENT_HANDLER_CHROMEOS_H_ | 6 #define CHROME_BROWSER_CHROMEOS_POLICY_ENROLLMENT_HANDLER_CHROMEOS_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 DeviceMode device_mode_; | 180 DeviceMode device_mode_; |
| 181 | 181 |
| 182 // Whether the server signaled to skip robot auth setup. | 182 // Whether the server signaled to skip robot auth setup. |
| 183 bool skip_robot_auth_; | 183 bool skip_robot_auth_; |
| 184 | 184 |
| 185 // The robot account refresh token. | 185 // The robot account refresh token. |
| 186 std::string robot_refresh_token_; | 186 std::string robot_refresh_token_; |
| 187 | 187 |
| 188 // The validated policy response info to be installed in the store. | 188 // The validated policy response info to be installed in the store. |
| 189 std::unique_ptr<enterprise_management::PolicyFetchResponse> policy_; | 189 std::unique_ptr<enterprise_management::PolicyFetchResponse> policy_; |
| 190 std::string username_; | 190 std::string domain_; |
| 191 std::string device_id_; | 191 std::string device_id_; |
| 192 std::string request_token_; | 192 std::string request_token_; |
| 193 | 193 |
| 194 // Current enrollment step. | 194 // Current enrollment step. |
| 195 EnrollmentStep enrollment_step_; | 195 EnrollmentStep enrollment_step_; |
| 196 | 196 |
| 197 // Total amount of time in milliseconds spent waiting for lockbox | 197 // Total amount of time in milliseconds spent waiting for lockbox |
| 198 // initialization. | 198 // initialization. |
| 199 int lockbox_init_duration_; | 199 int lockbox_init_duration_; |
| 200 | 200 |
| 201 base::WeakPtrFactory<EnrollmentHandlerChromeOS> weak_ptr_factory_; | 201 base::WeakPtrFactory<EnrollmentHandlerChromeOS> weak_ptr_factory_; |
| 202 | 202 |
| 203 DISALLOW_COPY_AND_ASSIGN(EnrollmentHandlerChromeOS); | 203 DISALLOW_COPY_AND_ASSIGN(EnrollmentHandlerChromeOS); |
| 204 }; | 204 }; |
| 205 | 205 |
| 206 } // namespace policy | 206 } // namespace policy |
| 207 | 207 |
| 208 #endif // CHROME_BROWSER_CHROMEOS_POLICY_ENROLLMENT_HANDLER_CHROMEOS_H_ | 208 #endif // CHROME_BROWSER_CHROMEOS_POLICY_ENROLLMENT_HANDLER_CHROMEOS_H_ |
| OLD | NEW |