summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorerikkay@chromium.org <erikkay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-11 17:33:50 +0000
committererikkay@chromium.org <erikkay@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-11 17:33:50 +0000
commit16eac0a7d080cf9868ed7655e0bb18fa4aae69b5 (patch)
treeccdeed938e3ce9ef99eb5d39c5f404ab92fb83b7 /base
parent968b609619fab6ddff939807aa42c0bdcf2f2304 (diff)
downloadchromium_src-16eac0a7d080cf9868ed7655e0bb18fa4aae69b5.zip
chromium_src-16eac0a7d080cf9868ed7655e0bb18fa4aae69b5.tar.gz
chromium_src-16eac0a7d080cf9868ed7655e0bb18fa4aae69b5.tar.bz2
Removes a piece of comment that no longer applies.
Review URL: http://codereview.chromium.org/194036 Patch from thiago.farina@gmail.com. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25982 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/file_util_posix.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/base/file_util_posix.cc b/base/file_util_posix.cc
index 3715d21..a919b16 100644
--- a/base/file_util_posix.cc
+++ b/base/file_util_posix.cc
@@ -387,10 +387,8 @@ bool ReadFromFD(int fd, char* buffer, size_t bytes) {
}
// Creates and opens a temporary file in |directory|, returning the
-// file descriptor. |path| is set to the temporary file path.
-// Note TODO(erikkay) comment in header for BlahFileName() calls; the
-// intent is to rename these files BlahFile() (since they create
-// files, not filenames). This function does NOT unlink() the file.
+// file descriptor. |path| is set to the temporary file path.
+// This function does NOT unlink() the file.
int CreateAndOpenFdForTemporaryFile(FilePath directory, FilePath* path) {
*path = directory.Append(kTempFileName);
const std::string& tmpdir_string = path->value();