OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_HWID_CHECKER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_HWID_CHECKER_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 namespace chromeos { |
| 11 |
| 12 // Calculates checksum for given string as it made for HWID v1 and v2. |
| 13 std::string CalculateHWIDChecksum(const std::string& data); |
| 14 |
| 15 // Checks if given HWID correct in terms of HWID v1 or v2. |
| 16 bool IsHWIDCorrect(const std::string& hwid); |
| 17 |
| 18 // Checks if current machine has correct HWID v1 or v2. |
| 19 bool IsMachineHWIDCorrect(); |
| 20 |
| 21 } // namespace chromeos |
| 22 |
| 23 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_HWID_CHECKER_H_ |
| 24 |
OLD | NEW |