summaryrefslogtreecommitdiffstats
path: root/base/file_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/file_util.h')
-rw-r--r--base/file_util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/file_util.h b/base/file_util.h
index 64a91ee..e62b30e 100644
--- a/base/file_util.h
+++ b/base/file_util.h
@@ -159,6 +159,8 @@ bool ContentsEqual(const FilePath& filename1,
bool TextContentsEqual(const FilePath& filename1, const FilePath& filename2);
// Read the file at |path| into |contents|, returning true on success.
+// |contents| may be NULL, in which case this function is useful for its
+// side effect of priming the disk cache.
// Useful for unit tests.
bool ReadFileToString(const FilePath& path, std::string* contents);