summaryrefslogtreecommitdiffstats
path: root/base/file_util.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-11 00:01:38 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-11 00:01:38 +0000
commit392264c76c724e3c31273ad1aa932a041cc12a7e (patch)
treefca9dca526bda74fa05a791b179e35e86e5c9755 /base/file_util.h
parent27961c57893201b2914f173cb517e33f37d0ae58 (diff)
downloadchromium_src-392264c76c724e3c31273ad1aa932a041cc12a7e.zip
chromium_src-392264c76c724e3c31273ad1aa932a041cc12a7e.tar.gz
chromium_src-392264c76c724e3c31273ad1aa932a041cc12a7e.tar.bz2
Added CreateTemporaryFileName that takes a FilePath argument.
Review URL: http://codereview.chromium.org/9752 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5142 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/file_util.h')
-rw-r--r--base/file_util.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/base/file_util.h b/base/file_util.h
index 2318ec7..3df31e4 100644
--- a/base/file_util.h
+++ b/base/file_util.h
@@ -237,16 +237,17 @@ bool IsDirectoryEmpty(const std::wstring& dir_path);
#endif
-
// Get the temporary directory provided by the system.
bool GetTempDir(FilePath* path);
// Deprecated temporary compatibility function.
bool GetTempDir(std::wstring* path);
-// Creates a temporary file. The full path is placed in 'temp_file', and the
+// Creates a temporary file. The full path is placed in |path|, and the
// function returns true if was successful in creating the file. The file will
// be empty and all handles closed after this function returns.
// TODO(erikkay): rename this function and track down all of the callers.
+bool CreateTemporaryFileName(FilePath* path);
+// Deprecated temporary compatibility function.
bool CreateTemporaryFileName(std::wstring* temp_file);
// Same as CreateTemporaryFileName but the file is created in |dir|.