Index: chrome/browser/chromeos/login/hwid_checker.h |
diff --git a/chrome/browser/chromeos/login/hwid_checker.h b/chrome/browser/chromeos/login/hwid_checker.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d2eecda2ce73c4dfd325436f1eb9af5cbb97aa4b |
--- /dev/null |
+++ b/chrome/browser/chromeos/login/hwid_checker.h |
@@ -0,0 +1,19 @@ |
+// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_HWID_CHECKER_H_ |
+#define CHROME_BROWSER_CHROMEOS_LOGIN_HWID_CHECKER_H_ |
+ |
+#include <string> |
+ |
+namespace chromeos { |
+ |
+std::string CalculateHWIDChecksum(const std::string& data); |
Nikita (slow)
2013/02/11 17:09:03
nit: Comment is missing.
dzhioev (left Google)
2013/02/11 23:32:56
Done.
|
+bool IsHWIDCorrect(const std::string& hwid); |
+bool IsMachineHWIDCorrect(); |
+ |
+} // namespace chromeos |
+ |
+#endif // CHROME_BROWSER_CHROMEOS_LOGIN_HWID_CHECKER_H_ |
+ |