| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2009 The Chromium OS Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "mount_task.h" | 5 #include "mount_task.h" |
| 6 | 6 |
| 7 namespace cryptohome { | 7 namespace cryptohome { |
| 8 | 8 |
| 9 const char* kMountTaskResultEventType = "MountTaskResult"; | 9 const char* kMountTaskResultEventType = "MountTaskResult"; |
| 10 | 10 |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 } | 113 } |
| 114 | 114 |
| 115 void MountTaskRemoveTrackedSubdirectories::Run() { | 115 void MountTaskRemoveTrackedSubdirectories::Run() { |
| 116 result()->set_return_status(true); | 116 result()->set_return_status(true); |
| 117 if (mount_) { | 117 if (mount_) { |
| 118 mount_->CleanUnmountedTrackedSubdirectories(); | 118 mount_->CleanUnmountedTrackedSubdirectories(); |
| 119 } | 119 } |
| 120 MountTask::Notify(); | 120 MountTask::Notify(); |
| 121 } | 121 } |
| 122 | 122 |
| 123 void MountTaskAutomaticFreeDiskSpace::Run() { |
| 124 result()->set_return_status(true); |
| 125 if (mount_) { |
| 126 mount_->DoAutomaticFreeDiskSpaceControl(); |
| 127 } |
| 128 MountTask::Notify(); |
| 129 } |
| 130 |
| 123 } // namespace cryptohome | 131 } // namespace cryptohome |
| OLD | NEW |