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

Unified Diff: chrome/browser/chromeos/cros/mock_cryptohome_library.h

Issue 2820006: Use GetSystemSalt from the cryptohome lib instead of reading salt off disk. (Closed)
Patch Set: Created 10 years, 6 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/cros/mock_cryptohome_library.h
diff --git a/chrome/browser/chromeos/cros/mock_cryptohome_library.h b/chrome/browser/chromeos/cros/mock_cryptohome_library.h
index f13149b256cf3000839cccaf7b9cd2fd840d101e..877112ae633329c8be4fcf3ab4f136df3a022e81 100644
--- a/chrome/browser/chromeos/cros/mock_cryptohome_library.h
+++ b/chrome/browser/chromeos/cros/mock_cryptohome_library.h
@@ -21,6 +21,7 @@ class MockCryptohomeLibrary : public CryptohomeLibrary {
MOCK_METHOD2(CheckKey, bool(const std::string& user_email,
const std::string& passhash));
MOCK_METHOD0(IsMounted, bool(void));
+ MOCK_METHOD0(GetSystemSalt, CryptohomeBlob(void));
};
} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698