| Index: mock_platform.h
|
| diff --git a/mock_platform.h b/mock_platform.h
|
| index e8a9be36ac77ca07386a6fe052ba007eeca8c1b7..31ee45120ff4621591e39caef1f9bdf8f99fdfbf 100644
|
| --- a/mock_platform.h
|
| +++ b/mock_platform.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2011 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.
|
|
|
| @@ -36,8 +36,13 @@ class MockPlatform : public Platform {
|
| MOCK_METHOD2(TerminatePidsWithOpenFiles, bool(const std::string&, bool));
|
| MOCK_METHOD2(TerminatePidsForUser, bool(const uid_t, bool));
|
| MOCK_METHOD3(SetOwnership, bool(const std::string&, uid_t, gid_t));
|
| + MOCK_METHOD3(SetOwnershipRecursive, bool(const std::string&, uid_t, gid_t));
|
| MOCK_METHOD3(GetUserId, bool(const std::string&, uid_t*, gid_t*));
|
| + MOCK_METHOD3(GetGroupId, bool(const std::string&, gid_t*));
|
| MOCK_CONST_METHOD1(AmountOfFreeDiskSpace, int64(const std::string&));
|
| + MOCK_METHOD2(Symlink, bool(const std::string&, const std::string&));
|
| + MOCK_METHOD4(Exec, bool(const std::string&, const std::vector<std::string>&,
|
| + uid_t, gid_t));
|
|
|
| private:
|
| bool MockGetUserId(const std::string& user, uid_t* user_id, gid_t* group_id) {
|
|
|