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

Unified Diff: mock_platform.h

Issue 6598074: DoAutomaticFreeDiskSpaceControl() introduced (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/cryptohome.git@master
Patch Set: Created 9 years, 10 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
« no previous file with comments | « make_tests.cc ('k') | mount.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mock_platform.h
diff --git a/mock_platform.h b/mock_platform.h
index 6dbfdccba31bf56d53a6098c69f3deae9b4b572a..01ab2a927f3146ab8b504784603750780da8c265 100644
--- a/mock_platform.h
+++ b/mock_platform.h
@@ -37,6 +37,7 @@ class MockPlatform : public Platform {
MOCK_METHOD2(TerminatePidsForUser, bool(const uid_t, bool));
MOCK_METHOD3(SetOwnership, bool(const std::string&, uid_t, gid_t));
MOCK_METHOD3(GetUserId, bool(const std::string&, uid_t*, gid_t*));
+ MOCK_METHOD1(AmountOfFreeDiskSpace, int64(const std::string&));
private:
bool MockGetUserId(const std::string& user, uid_t* user_id, gid_t* group_id) {
« no previous file with comments | « make_tests.cc ('k') | mount.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698