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

Unified Diff: chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc

Issue 100573002: Move directory creation functions to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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
Index: chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc
diff --git a/chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc b/chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc
index 5087660829945da40551d3aa7f4383ab399cb9ac..41b516bb6aeebb737660fac8aa840e650b3fd09d 100644
--- a/chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc
+++ b/chrome/browser/media_galleries/fileapi/device_media_async_file_util.cc
@@ -45,7 +45,7 @@ void CreateSnapshotFileOnBlockingPool(
DCHECK(snapshot_file_path);
base::FilePath isolated_media_file_system_dir_path =
profile_path.AppendASCII(kDeviceMediaAsyncFileUtilTempDir);
- if (!file_util::CreateDirectory(isolated_media_file_system_dir_path) ||
+ if (!base::CreateDirectory(isolated_media_file_system_dir_path) ||
!base::CreateTemporaryFileInDir(isolated_media_file_system_dir_path,
snapshot_file_path)) {
LOG(WARNING) << "Could not create media snapshot file "

Powered by Google App Engine
This is Rietveld 408576698