Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(233)

Unified Diff: chrome/browser/chromeos/login/hwid_checker.h

Issue 12213110: Implemented screen notifying users about malformed HWID. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Removed log message. Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_
+

Powered by Google App Engine
This is Rietveld 408576698