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

Side by Side Diff: chrome/app/file_pre_reader_win.h

Issue 2280183002: Remove all code related to the PreRead field trial. (Closed)
Patch Set: fix include Created 4 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 unified diff | Download patch
« no previous file with comments | « chrome/app/chrome_exe_main_win.cc ('k') | chrome/app/file_pre_reader_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file defines a function to pre-read a file in order to avoid touching 5 // This file defines a function to pre-read a file in order to avoid touching
6 // the disk when it is subsequently used. 6 // the disk when it is subsequently used.
7 7
8 #ifndef CHROME_APP_FILE_PRE_READER_WIN_H_ 8 #ifndef CHROME_APP_FILE_PRE_READER_WIN_H_
9 #define CHROME_APP_FILE_PRE_READER_WIN_H_ 9 #define CHROME_APP_FILE_PRE_READER_WIN_H_
10 10
11 namespace base { 11 namespace base {
12 class FilePath; 12 class FilePath;
13 } 13 }
14 14
15 namespace startup_metric_utils {
16 struct PreReadOptions;
17 }
18
19 // Pre-reads |file_path| to avoid touching the disk when the file is actually 15 // Pre-reads |file_path| to avoid touching the disk when the file is actually
20 // used. Checks |pre_read_options| to determine how to pre-read the file. 16 // used.
21 void PreReadFile(const base::FilePath& file_path, 17 void PreReadFile(const base::FilePath& file_path);
22 const startup_metric_utils::PreReadOptions& pre_read_options);
23 18
24 #endif // CHROME_APP_FILE_PRE_READER_WIN_H_ 19 #endif // CHROME_APP_FILE_PRE_READER_WIN_H_
OLDNEW
« no previous file with comments | « chrome/app/chrome_exe_main_win.cc ('k') | chrome/app/file_pre_reader_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698