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

Unified Diff: components/storage_monitor/image_capture_device_manager_unittest.mm

Issue 184563006: Move WriteFile and WriteFileDescriptor from file_util to base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months 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: components/storage_monitor/image_capture_device_manager_unittest.mm
diff --git a/components/storage_monitor/image_capture_device_manager_unittest.mm b/components/storage_monitor/image_capture_device_manager_unittest.mm
index 01a74dfd072c0141021ffb7b896a861c006bf341..5bdd830085cf06cb3c3e670281a520f49da01ff3 100644
--- a/components/storage_monitor/image_capture_device_manager_unittest.mm
+++ b/components/storage_monitor/image_capture_device_manager_unittest.mm
@@ -110,8 +110,8 @@ const char kTestFileContents[] = "test";
saveAsFilename += ".jpg";
base::FilePath toBeSaved = saveDir.Append(saveAsFilename);
ASSERT_EQ(static_cast<int>(strlen(kTestFileContents)),
- file_util::WriteFile(toBeSaved, kTestFileContents,
- strlen(kTestFileContents)));
+ base::WriteFile(toBeSaved, kTestFileContents,
+ strlen(kTestFileContents)));
NSMutableDictionary* returnOptions =
[NSMutableDictionary dictionaryWithDictionary:options];

Powered by Google App Engine
This is Rietveld 408576698