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

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

Issue 6821075: Chrome-side lockbox bindings (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Addressed Ken's nits. Created 9 years, 8 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 bf709df851e81c72d9c96d39b6ec45475db81736..772c1df4871a583bd9c90ee62c0bd9f1130b5a27 100644
--- a/chrome/browser/chromeos/cros/mock_cryptohome_library.h
+++ b/chrome/browser/chromeos/cros/mock_cryptohome_library.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -80,6 +80,16 @@ class MockCryptohomeLibrary : public CryptohomeLibrary {
MOCK_METHOD0(TpmCanAttemptOwnership, void(void));
MOCK_METHOD0(TpmClearStoredPassword, void(void));
+ MOCK_METHOD2(InstallAttributesGet, bool(const std::string&, std::string*));
+ MOCK_METHOD2(InstallAttributesSet, bool(const std::string&,
+ const std::string&));
+ MOCK_METHOD0(InstallAttributesCount, int(void));
+ MOCK_METHOD0(InstallAttributesFinalize, bool(void));
+ MOCK_METHOD0(InstallAttributesIsReady, bool(void));
+ MOCK_METHOD0(InstallAttributesIsSecure, bool(void));
+ MOCK_METHOD0(InstallAttributesIsInvalid, bool(void));
+ MOCK_METHOD0(InstallAttributesIsFirstInstall, bool(void));
+
void SetAsyncBehavior(bool outcome, int code) {
outcome_ = outcome;
code_ = code;
« no previous file with comments | « chrome/browser/chromeos/cros/cryptohome_library.cc ('k') | chrome/browser/chromeos/login/enterprise_enrollment_screen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698