Bug 1858737 [wpt PR 42512] - [CompositeClipPathAnimations] Add tests for additional...
[gecko.git] / storage / QuotaVFS.h
blob32fb8ac3a80151256975d8812f6a6eaf4c732d73
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_QUOTAVFS_H_
8 #define STORAGE_QUOTAVFS_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::quotavfs {
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::quotavfs
33 #endif // STORAGE_QUOTAVFS_H_