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

Unified Diff: chrome/browser/chromeos/login/wallpaper_manager.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/chromeos/login/wallpaper_manager.cc
diff --git a/chrome/browser/chromeos/login/wallpaper_manager.cc b/chrome/browser/chromeos/login/wallpaper_manager.cc
index f838f6fb80975164aa32e1bf707a338bffd6c716..6043f1356b07ec3f79b04692595e4556eabccaaa 100644
--- a/chrome/browser/chromeos/login/wallpaper_manager.cc
+++ b/chrome/browser/chromeos/login/wallpaper_manager.cc
@@ -741,19 +741,19 @@ void WallpaperManager::EnsureCustomWallpaperDirectories(
dir = GetCustomWallpaperDir(kSmallWallpaperSubDir);
dir = dir.Append(user_id_hash);
if (!base::PathExists(dir))
- file_util::CreateDirectory(dir);
+ base::CreateDirectory(dir);
dir = GetCustomWallpaperDir(kLargeWallpaperSubDir);
dir = dir.Append(user_id_hash);
if (!base::PathExists(dir))
- file_util::CreateDirectory(dir);
+ base::CreateDirectory(dir);
dir = GetCustomWallpaperDir(kOriginalWallpaperSubDir);
dir = dir.Append(user_id_hash);
if (!base::PathExists(dir))
- file_util::CreateDirectory(dir);
+ base::CreateDirectory(dir);
dir = GetCustomWallpaperDir(kThumbnailWallpaperSubDir);
dir = dir.Append(user_id_hash);
if (!base::PathExists(dir))
- file_util::CreateDirectory(dir);
+ base::CreateDirectory(dir);
}
CommandLine* WallpaperManager::GetComandLine() {

Powered by Google App Engine
This is Rietveld 408576698