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

Side by Side Diff: chrome/installer/util/self_cleaning_temp_dir.cc

Issue 497083004: Change base/file_utils.h includes to base/files/file_utils.h in chrome/, part 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@file_util
Patch Set: Created 6 years, 4 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium 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 "chrome/installer/util/self_cleaning_temp_dir.h" 5 #include "chrome/installer/util/self_cleaning_temp_dir.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 8
9 #include "base/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "chrome/installer/util/delete_after_reboot_helper.h" 11 #include "chrome/installer/util/delete_after_reboot_helper.h"
12 12
13 namespace installer { 13 namespace installer {
14 14
15 // Populates |base_dir| with the topmost directory in the hierarchy of 15 // Populates |base_dir| with the topmost directory in the hierarchy of
16 // |temp_parent_dir| that does not exist. If |temp_parent_dir| exists, 16 // |temp_parent_dir| that does not exist. If |temp_parent_dir| exists,
17 // |base_dir| is cleared. 17 // |base_dir| is cleared.
18 // static 18 // static
19 void SelfCleaningTempDir::GetTopDirToCreate( 19 void SelfCleaningTempDir::GetTopDirToCreate(
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 } while (true); 109 } while (true);
110 } 110 }
111 111
112 base_dir_.clear(); 112 base_dir_.clear();
113 temp_dir_.clear(); 113 temp_dir_.clear();
114 114
115 return true; 115 return true;
116 } 116 }
117 117
118 } // namespace installer 118 } // namespace installer
OLDNEW
« no previous file with comments | « chrome/installer/util/move_tree_work_item_unittest.cc ('k') | chrome/installer/util/self_cleaning_temp_dir_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698