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

Unified Diff: chrome/app/image_pre_reader_win.h

Issue 23534009: Re-enable pre-read experiment as a finch field trial. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comment and rebase Created 7 years, 3 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 | « chrome/app/client_util.cc ('k') | chrome/app/image_pre_reader_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/image_pre_reader_win.h
diff --git a/chrome/app/image_pre_reader_win.h b/chrome/app/image_pre_reader_win.h
index 25267b6da14861c9fbc4dff64129265b022c0bc8..e32e019049c802901464719d1c7e5fdc36226fb7 100644
--- a/chrome/app/image_pre_reader_win.h
+++ b/chrome/app/image_pre_reader_win.h
@@ -53,21 +53,21 @@ class ImagePreReader {
// with the data and code most needed for startup moved to the front.
// See also: http://code.google.com/p/chromium/issues/detail?id=98508
static bool PartialPreReadImage(const wchar_t* file_path,
- uint8 percentage,
+ size_t percentage,
size_t max_chunk_size);
// Helper function used by PartialPreReadImage on Windows versions (Vista+)
// where reading through the file on disk serves to warm up the page cache.
// Exported for unit-testing purposes.
static bool PartialPreReadImageOnDisk(const wchar_t* file_path,
- uint8 percentage,
+ size_t percentage,
size_t max_chunk_size);
// Helper function used by PartialPreReadImage on Windows versions (XP) where
// cheaply loading the image then stepping through its address space serves
// to warm up the page cache. Exported for unit-testing purposes.
static bool PartialPreReadImageInMemory(const wchar_t* file_path,
- uint8 percentage);
+ size_t percentage);
}; // namespace internal
#endif // CHROME_APP_IMAGE_PRE_READER_WIN_H_
« no previous file with comments | « chrome/app/client_util.cc ('k') | chrome/app/image_pre_reader_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698