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

Side by Side 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, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « mount_task.h ('k') | mount_task_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« 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