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

Unified Diff: mount_task.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 | « mount.cc ('k') | mount_task.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mount_task.h
diff --git a/mount_task.h b/mount_task.h
index 914da940370450ec35dbd9b239f487a5dc1b1c51..a75ae04c25c1471ebb2cc617528d520ded470485 100644
--- a/mount_task.h
+++ b/mount_task.h
@@ -331,6 +331,21 @@ class MountTaskRemoveTrackedSubdirectories : public MountTask {
DISALLOW_COPY_AND_ASSIGN(MountTaskRemoveTrackedSubdirectories);
};
+// Implements asychronous removal of tracked subdirectories
+class MountTaskAutomaticFreeDiskSpace : public MountTask {
+ public:
+ MountTaskAutomaticFreeDiskSpace(MountTaskObserver* observer,
+ Mount* mount)
+ : MountTask(observer, mount, UsernamePasskey()) {
+ }
+ virtual ~MountTaskAutomaticFreeDiskSpace() { }
+
+ virtual void Run();
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(MountTaskAutomaticFreeDiskSpace);
+};
+
} // namespace cryptohome
#endif // CRYPTOHOME_MOUNT_TASK_H_
« no previous file with comments | « mount.cc ('k') | mount_task.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698