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

Unified Diff: chrome/browser/extensions/api/media_galleries/media_galleries_apitest.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/extensions/api/media_galleries/media_galleries_apitest.cc
diff --git a/chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc b/chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc
index f8a03d849059f4cfef3624efa237a222ece2b05a..a048d1f7474304a3e27bb4cd273b3007ac64bd8e 100644
--- a/chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc
+++ b/chrome/browser/extensions/api/media_galleries/media_galleries_apitest.cc
@@ -166,16 +166,16 @@ class MediaGalleriesPlatformAppBrowserTest : public PlatformAppBrowserTest {
picasa::MakePicasaDatabasePath(picasa_app_data_root);
base::FilePath picasa_temp_dir_path =
picasa_database_path.DirName().AppendASCII(picasa::kPicasaTempDirName);
- ASSERT_TRUE(file_util::CreateDirectory(picasa_database_path));
- ASSERT_TRUE(file_util::CreateDirectory(picasa_temp_dir_path));
+ ASSERT_TRUE(base::CreateDirectory(picasa_database_path));
+ ASSERT_TRUE(base::CreateDirectory(picasa_temp_dir_path));
// Create fake folder directories.
base::FilePath folders_root =
ensure_media_directories_exists_->GetFakePicasaFoldersRootPath();
base::FilePath fake_folder_1 = folders_root.AppendASCII("folder1");
base::FilePath fake_folder_2 = folders_root.AppendASCII("folder2");
- ASSERT_TRUE(file_util::CreateDirectory(fake_folder_1));
- ASSERT_TRUE(file_util::CreateDirectory(fake_folder_2));
+ ASSERT_TRUE(base::CreateDirectory(fake_folder_1));
+ ASSERT_TRUE(base::CreateDirectory(fake_folder_2));
// Write folder and album contents.
picasa::WriteTestAlbumTable(

Powered by Google App Engine
This is Rietveld 408576698