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

Unified Diff: mount_task.cc

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 | « mount_task.h ('k') | mount_task_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mount_task.cc
diff --git a/mount_task.cc b/mount_task.cc
index 474d2c9a551cd07e20cbb1330d86249aaac2063a..168405fe0a9aa0e547000b07eb536b695d837b50 100644
--- a/mount_task.cc
+++ b/mount_task.cc
@@ -120,4 +120,12 @@ void MountTaskRemoveTrackedSubdirectories::Run() {
MountTask::Notify();
}
+void MountTaskAutomaticFreeDiskSpace::Run() {
+ result()->set_return_status(true);
+ if (mount_) {
+ mount_->DoAutomaticFreeDiskSpaceControl();
+ }
+ MountTask::Notify();
+}
+
} // namespace cryptohome
« no previous file with comments | « mount_task.h ('k') | mount_task_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698