blob: dcd596c1c0c0ec4285ac9137e9a52df017ec31a7 [file] [log] [blame]
fdorayab55daf2015-11-10 21:54:171// 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
3// found in the LICENSE file.
4
5// This file defines a function to pre-read a file in order to avoid touching
6// the disk when it is subsequently used.
7
8#ifndef CHROME_APP_FILE_PRE_READER_WIN_H_
9#define CHROME_APP_FILE_PRE_READER_WIN_H_
10
11namespace base {
12class FilePath;
13}
14
fdorayfb9b7742016-02-05 16:28:1015// Pre-reads |file_path| to avoid touching the disk when the file is actually
fdorayf888dced2016-08-31 22:08:1416// used.
17void PreReadFile(const base::FilePath& file_path);
fdorayab55daf2015-11-10 21:54:1718
19#endif // CHROME_APP_FILE_PRE_READER_WIN_H_