BaseVFS.h (772B)
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/. */ 6 7 #ifndef STORAGE_BASEVFS_H_ 8 #define STORAGE_BASEVFS_H_ 9 10 #include "mozilla/UniquePtr.h" 11 12 struct sqlite3_vfs; 13 struct sqlite3_file; 14 15 template <typename T> 16 struct already_AddRefed; 17 18 namespace mozilla::dom::quota { 19 class QuotaObject; 20 } 21 22 namespace mozilla::storage::basevfs { 23 24 const char* GetVFSName(bool exclusive); 25 26 UniquePtr<sqlite3_vfs> ConstructVFS(bool exclusive); 27 28 } // namespace mozilla::storage::basevfs 29 30 #endif // STORAGE_OBFUSCATINGVFS_H_