| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_PROXIMITY_AUTH_CRYPT_AUTH_ENROLLMENT_UTILS_H | 5 #ifndef COMPONENTS_PROXIMITY_AUTH_CRYPT_AUTH_ENROLLMENT_UTILS_H |
| 6 #define COMPONENTS_PROXIMITY_AUTH_CRYPT_AUTH_ENROLLMENT_UTILS_H | 6 #define COMPONENTS_PROXIMITY_AUTH_CRYPT_AUTH_ENROLLMENT_UTILS_H |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 namespace user_manager { |
| 11 class UserID; |
| 12 } |
| 13 |
| 10 namespace proximity_auth { | 14 namespace proximity_auth { |
| 11 | 15 |
| 12 // Calculates an id for the specified user on the specified device. | 16 // Calculates an id for the specified user on the specified device. |
| 13 std::string CalculateDeviceUserId(const std::string& device_id, | 17 std::string CalculateDeviceUserId(const std::string& device_id, |
| 14 const std::string& user_id); | 18 const user_manager::UserID& user_id); |
| 15 | 19 |
| 16 } // namespace proximity_auth | 20 } // namespace proximity_auth |
| 17 | 21 |
| 18 #endif // COMPONENTS_PROXIMITY_AUTH_CRYPT_AUTH_ENROLLMENT_UTILS_H | 22 #endif // COMPONENTS_PROXIMITY_AUTH_CRYPT_AUTH_ENROLLMENT_UTILS_H |
| OLD | NEW |