tor-browser

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

DllBlocklistInit.h (1083B)


      1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
      2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
      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 https://mozilla.org/MPL/2.0/. */
      6 
      7 #ifndef mozilla_DllBlocklistInit_h
      8 #define mozilla_DllBlocklistInit_h
      9 
     10 #include <windows.h>
     11 
     12 #if defined(MOZ_LAUNCHER_PROCESS)
     13 #  include "mozilla/LauncherRegistryInfo.h"
     14 #endif
     15 #include "mozilla/ProcessType.h"
     16 #include "mozilla/WinHeaderOnlyUtils.h"
     17 
     18 namespace mozilla {
     19 
     20 LauncherVoidResultWithLineInfo InitializeDllBlocklistOOP(
     21    const wchar_t* aFullImagePath, HANDLE aChildProcess,
     22    const IMAGE_THUNK_DATA* aCachedNtdllThunk,
     23    const GeckoProcessType aProcessType);
     24 
     25 LauncherVoidResultWithLineInfo InitializeDllBlocklistOOPFromLauncher(
     26    const wchar_t* aFullImagePath, HANDLE aChildProcess,
     27    const bool aDisableDynamicBlocklist,
     28    Maybe<std::wstring> aBlocklistFileName);
     29 
     30 }  // namespace mozilla
     31 
     32 #endif  // mozilla_DllBlocklistInit_h