Backed out changeset 1a76a45e1895 (bug 1934145) for causing perma browser-time failur...
[gecko.git] / storage / ObfuscatingVFS.h
blob24d0e40a40ec31df69ba61353ea697cccb7d9110
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 * vim: sw=2 ts=2 et lcs=trail\:.,tab\:>~ :
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef STORAGE_OBFUSCATINGVFS_H_
8 #define STORAGE_OBFUSCATINGVFS_H_
10 #include "mozilla/UniquePtr.h"
12 struct sqlite3_vfs;
13 struct sqlite3_file;
15 template <typename T>
16 struct already_AddRefed;
18 namespace mozilla::dom::quota {
19 class QuotaObject;
22 namespace mozilla::storage::obfsvfs {
24 const char* GetVFSName();
26 UniquePtr<sqlite3_vfs> ConstructVFS(const char* aBaseVFSName);
28 already_AddRefed<dom::quota::QuotaObject> GetQuotaObjectForFile(
29 sqlite3_file* pFile);
31 } // namespace mozilla::storage::obfsvfs
33 #endif // STORAGE_OBFUSCATINGVFS_H_