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

Unified Diff: chrome/browser/storage_monitor/image_capture_device_manager_unittest.mm

Issue 109043002: Move more file_util 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/storage_monitor/image_capture_device_manager_unittest.mm
diff --git a/chrome/browser/storage_monitor/image_capture_device_manager_unittest.mm b/chrome/browser/storage_monitor/image_capture_device_manager_unittest.mm
index 5b2e3172cdc422d903cc785dcf39cecd3bba469c..42f0a4218c45f397b2458c00421427cf9b264931 100644
--- a/chrome/browser/storage_monitor/image_capture_device_manager_unittest.mm
+++ b/chrome/browser/storage_monitor/image_capture_device_manager_unittest.mm
@@ -391,8 +391,8 @@ TEST_F(ImageCaptureDeviceManagerTest, DownloadFile) {
EXPECT_EQ(kTestFileName, listener_.downloads()[1]);
ASSERT_EQ(base::PLATFORM_FILE_OK, listener_.last_error());
char file_contents[5];
- ASSERT_EQ(4, file_util::ReadFile(temp_file, file_contents,
- strlen(kTestFileContents)));
+ ASSERT_EQ(4, base::ReadFile(temp_file, file_contents,
+ strlen(kTestFileContents)));
EXPECT_EQ(kTestFileContents,
std::string(file_contents, strlen(kTestFileContents)));
@@ -425,8 +425,8 @@ TEST_F(ImageCaptureDeviceManagerTest, TestSubdirectories) {
base::RunLoop().RunUntilIdle();
char file_contents[5];
- ASSERT_EQ(4, file_util::ReadFile(temp_file, file_contents,
- strlen(kTestFileContents)));
+ ASSERT_EQ(4, base::ReadFile(temp_file, file_contents,
+ strlen(kTestFileContents)));
EXPECT_EQ(kTestFileContents,
std::string(file_contents, strlen(kTestFileContents)));
« no previous file with comments | « chrome/browser/safe_browsing/safe_browsing_store_file_unittest.cc ('k') | chrome/browser/ui/pdf/pdf_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698