| 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;
|
|
|