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

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

Issue 105823009: Revert 239280 "Move more file_util functions to base namespace." (Closed) Base URL: svn://svn.chromium.org/chrome/
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: trunk/src/chrome/browser/storage_monitor/image_capture_device_manager_unittest.mm
===================================================================
--- trunk/src/chrome/browser/storage_monitor/image_capture_device_manager_unittest.mm (revision 239399)
+++ trunk/src/chrome/browser/storage_monitor/image_capture_device_manager_unittest.mm (working copy)
@@ -391,8 +391,8 @@
EXPECT_EQ(kTestFileName, listener_.downloads()[1]);
ASSERT_EQ(base::PLATFORM_FILE_OK, listener_.last_error());
char file_contents[5];
- ASSERT_EQ(4, base::ReadFile(temp_file, file_contents,
- strlen(kTestFileContents)));
+ ASSERT_EQ(4, file_util::ReadFile(temp_file, file_contents,
+ strlen(kTestFileContents)));
EXPECT_EQ(kTestFileContents,
std::string(file_contents, strlen(kTestFileContents)));
@@ -425,8 +425,8 @@
base::RunLoop().RunUntilIdle();
char file_contents[5];
- ASSERT_EQ(4, base::ReadFile(temp_file, file_contents,
- strlen(kTestFileContents)));
+ ASSERT_EQ(4, file_util::ReadFile(temp_file, file_contents,
+ strlen(kTestFileContents)));
EXPECT_EQ(kTestFileContents,
std::string(file_contents, strlen(kTestFileContents)));

Powered by Google App Engine
This is Rietveld 408576698