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

Side by Side Diff: chrome/installer/util/lzma_util.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/lzma_util.h" 5 #include "chrome/installer/util/lzma_util.h"
6 6
7 #include "base/file_util.h" 7 #include "base/files/file_util.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 10
11 extern "C" { 11 extern "C" {
12 #include "third_party/lzma_sdk/7z.h" 12 #include "third_party/lzma_sdk/7z.h"
13 #include "third_party/lzma_sdk/7zAlloc.h" 13 #include "third_party/lzma_sdk/7zAlloc.h"
14 #include "third_party/lzma_sdk/7zCrc.h" 14 #include "third_party/lzma_sdk/7zCrc.h"
15 #include "third_party/lzma_sdk/7zFile.h" 15 #include "third_party/lzma_sdk/7zFile.h"
16 } 16 }
17 17
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 241
242 bool LzmaUtil::CreateDirectory(const base::FilePath& dir) { 242 bool LzmaUtil::CreateDirectory(const base::FilePath& dir) {
243 bool ret = true; 243 bool ret = true;
244 if (directories_created_.find(dir.value()) == directories_created_.end()) { 244 if (directories_created_.find(dir.value()) == directories_created_.end()) {
245 ret = base::CreateDirectory(dir); 245 ret = base::CreateDirectory(dir);
246 if (ret) 246 if (ret)
247 directories_created_.insert(dir.value()); 247 directories_created_.insert(dir.value());
248 } 248 }
249 return ret; 249 return ret;
250 } 250 }
OLDNEW
« no previous file with comments | « chrome/installer/util/logging_installer_unittest.cc ('k') | chrome/installer/util/lzma_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698