blob: 0ff50e600c774f0f875933a9635766f4fec14eab [file] [log] [blame]
shess5f2c3442017-01-24 02:15:101// Copyright (c) 2017 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#ifndef SQL_VFS_WRAPPER_H_
6#define SQL_VFS_WRAPPER_H_
7
8#include "third_party/sqlite/sqlite3.h"
9
10namespace sql {
11
12// A wrapper around the default VFS.
13//
14// On OSX, the wrapper propagates Time Machine exclusions from the main database
15// file to associated files such as journals. <http://crbug.com/23619> and
16// <http://crbug.com/25959> and others.
17//
18// TODO(shess): On Windows, wrap xFetch() with a structured exception handler.
19sqlite3_vfs* VFSWrapper();
20
21} // namespace sql
22
23#endif // SQL_VFS_WRAPPER_H_