/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef WAICTUtils_h #define WAICTUtils_h #include #include "mozilla/Logging.h" #include "mozilla/Result.h" #include "nsString.h" class nsISFVDictionary; namespace mozilla::waict { extern LazyLogModule gWaictLog; Result ParseManifest(nsISFVDictionary* aDict); Result ParseMaxAge(nsISFVDictionary* aDict); enum class WaictMode { Enforce, Report }; Result ParseMode(nsISFVDictionary* aDict); } // namespace mozilla::waict #endif // WAICTUtils_h