tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

ObfuscatingVFS.h (874B)


      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_OBFUSCATINGVFS_H_
      8 #define STORAGE_OBFUSCATINGVFS_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::obfsvfs {
     23 
     24 const char* GetVFSName();
     25 
     26 UniquePtr<sqlite3_vfs> ConstructVFS(const char* aBaseVFSName);
     27 
     28 already_AddRefed<dom::quota::QuotaObject> GetQuotaObjectForFile(
     29    sqlite3_file* pFile);
     30 
     31 }  // namespace mozilla::storage::obfsvfs
     32 
     33 #endif  // STORAGE_OBFUSCATINGVFS_H_