BackgroundSessionStorageServiceParent.h (1019B)
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 http://mozilla.org/MPL/2.0/. */ 6 7 #ifndef DOM_STORAGE_BACKGROUNDSESSIONSTORAGESERVICEPARENT_H_ 8 #define DOM_STORAGE_BACKGROUNDSESSIONSTORAGESERVICEPARENT_H_ 9 10 #include "mozilla/dom/PBackgroundSessionStorageServiceParent.h" 11 12 namespace mozilla::dom { 13 14 class BackgroundSessionStorageServiceParent final 15 : public PBackgroundSessionStorageServiceParent { 16 public: 17 NS_INLINE_DECL_REFCOUNTING(BackgroundSessionStorageServiceParent, override) 18 19 mozilla::ipc::IPCResult RecvClearStoragesForOrigin( 20 const nsACString& aOriginAttrs, const nsACString& aOriginKey); 21 22 private: 23 ~BackgroundSessionStorageServiceParent() = default; 24 }; 25 26 } // namespace mozilla::dom 27 28 #endif // DOM_STORAGE_BACKGROUNDSESSIONSTORAGESERVICEPARENT_H_