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

Unified Diff: base/file_util.h

Issue 9309083: Remove PreReadImage from base/file_util. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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
« no previous file with comments | « no previous file | base/file_util_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/file_util.h
diff --git a/base/file_util.h b/base/file_util.h
index 177711ec0e83a8866cdfc4a50b535224fe5b6b26..7b46b5f4d94407cc81122b1e9b07f8efc7c58789 100644
--- a/base/file_util.h
+++ b/base/file_util.h
@@ -617,16 +617,6 @@ BASE_EXPORT bool HasFileBeenModifiedSince(
const FileEnumerator::FindInfo& find_info,
const base::Time& cutoff_time);
-#if defined(OS_WIN)
- // Loads the file passed in as an image section and touches pages to avoid
- // subsequent hard page faults during LoadLibrary. The size to be pre read
- // is passed in. If it is 0 then the whole file is paged in. The step size
- // which indicates the number of bytes to skip after every page touched is
- // also passed in.
-bool BASE_EXPORT PreReadImage(const wchar_t* file_path, size_t size_to_read,
- size_t step_size);
-#endif // OS_WIN
-
#if defined(OS_LINUX)
// Broad categories of file systems as returned by statfs() on Linux.
enum FileSystemType {
« no previous file with comments | « no previous file | base/file_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698