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

Unified Diff: content/common/sandbox_mac_diraccess_unittest.mm

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
« no previous file with comments | « content/child/npapi/plugin_stream_posix.cc ('k') | content/common/sandbox_mac_fontloading_unittest.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/sandbox_mac_diraccess_unittest.mm
diff --git a/content/common/sandbox_mac_diraccess_unittest.mm b/content/common/sandbox_mac_diraccess_unittest.mm
index c8611dfd45a43f26cc07c859f3ee1c0417db7b5b..ee109c2f57a595b228ca0a0dbac37e9d9e77763a 100644
--- a/content/common/sandbox_mac_diraccess_unittest.mm
+++ b/content/common/sandbox_mac_diraccess_unittest.mm
@@ -148,7 +148,8 @@ TEST_F(MacDirAccessSandboxTest, SandboxAccess) {
using file_util::CreateDirectory;
base::FilePath tmp_dir;
- ASSERT_TRUE(file_util::CreateNewTempDirectory("", &tmp_dir));
+ ASSERT_TRUE(base::CreateNewTempDirectory(base::FilePath::StringType(),
+ &tmp_dir));
// This step is important on OS X since the sandbox only understands "real"
// paths and the paths CreateNewTempDirectory() returns are empirically in
// /var which is a symlink to /private/var .
« no previous file with comments | « content/child/npapi/plugin_stream_posix.cc ('k') | content/common/sandbox_mac_fontloading_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698