blob: 474ca56f55c135765b8b33cb44e6f3f3b25a7abe [file] [log] [blame]
// Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "cryptohome/mock_homedirs.h"
using testing::_;
using testing::Return;
namespace cryptohome {
MockHomeDirs::MockHomeDirs() {
ON_CALL(*this, Init(_, _, _)).WillByDefault(Return(true));
}
MockHomeDirs::~MockHomeDirs() {}
bool MockHomeDirs::ActualGetPlainOwner(std::string* owner) {
return HomeDirs::GetPlainOwner(owner);
}
} // namespace cryptohome