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

Unified Diff: chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc

Issue 99923002: Move temp file 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/drive/file_system/download_operation_unittest.cc
diff --git a/chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc b/chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc
index e9f8a29f4ecf781ab7e6df6db09a03e4ce907102..8d469a082199cd19fa205122a74c43d221864e07 100644
--- a/chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc
+++ b/chrome/browser/chromeos/drive/file_system/download_operation_unittest.cc
@@ -197,7 +197,7 @@ TEST_F(DownloadOperationTest,
TEST_F(DownloadOperationTest, EnsureFileDownloadedByPath_FromCache) {
base::FilePath temp_file;
- ASSERT_TRUE(file_util::CreateTemporaryFileInDir(temp_dir(), &temp_file));
+ ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir(), &temp_file));
base::FilePath file_in_root(FILE_PATH_LITERAL("drive/root/File 1.txt"));
ResourceEntry src_entry;
@@ -364,7 +364,7 @@ TEST_F(DownloadOperationTest,
TEST_F(DownloadOperationTest, EnsureFileDownloadedByLocalId_FromCache) {
base::FilePath temp_file;
- ASSERT_TRUE(file_util::CreateTemporaryFileInDir(temp_dir(), &temp_file));
+ ASSERT_TRUE(base::CreateTemporaryFileInDir(temp_dir(), &temp_file));
base::FilePath file_in_root(FILE_PATH_LITERAL("drive/root/File 1.txt"));
ResourceEntry src_entry;

Powered by Google App Engine
This is Rietveld 408576698