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

Side by Side Diff: chrome/installer/util/create_dir_work_item.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "base/file_util.h" 5 #include "base/files/file_util.h"
6 #include "base/logging.h" 6 #include "base/logging.h"
7 #include "chrome/installer/util/create_dir_work_item.h" 7 #include "chrome/installer/util/create_dir_work_item.h"
8 #include "chrome/installer/util/logging_installer.h" 8 #include "chrome/installer/util/logging_installer.h"
9 9
10 CreateDirWorkItem::~CreateDirWorkItem() { 10 CreateDirWorkItem::~CreateDirWorkItem() {
11 } 11 }
12 12
13 CreateDirWorkItem::CreateDirWorkItem(const base::FilePath& path) 13 CreateDirWorkItem::CreateDirWorkItem(const base::FilePath& path)
14 : path_(path), 14 : path_(path),
15 rollback_needed_(false) { 15 rollback_needed_(false) {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 if (!RemoveDirectory(path_to_delete.value().c_str())) 60 if (!RemoveDirectory(path_to_delete.value().c_str()))
61 break; 61 break;
62 } 62 }
63 if (path_to_delete == top_path_) 63 if (path_to_delete == top_path_)
64 break; 64 break;
65 path_to_delete = path_to_delete.DirName(); 65 path_to_delete = path_to_delete.DirName();
66 } 66 }
67 67
68 return; 68 return;
69 } 69 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698