Bug 1605250 - Fix include-what-you-use errors in dom/localstorage. r=dom-workers-and-storage-reviewers,asuth

Differential Revision: https://phabricator.services.mozilla.com/D57899

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Botond Ballo 2019-12-21 01:13:29 +00:00
parent 8bdfa0e67a
commit 8b48782ea2
5 changed files with 25 additions and 0 deletions

View File

@ -6,6 +6,11 @@
#include "LSSnapshot.h"
#include "ActorsChild.h"
#include "LocalStorageCommon.h"
#include "LSDatabase.h"
#include "LSWriteOptimizer.h"
#include "mozilla/dom/PBackgroundLSSnapshot.h"
#include "nsContentUtils.h"
namespace mozilla {

View File

@ -9,6 +9,15 @@
#include "LSValue.h"
#include "nsCOMPtr.h"
#include "nsDataHashtable.h"
#include "nsIRunnable.h"
#include "nsHashKeys.h"
#include "nsIRunnable.h"
#include "nsTHashtable.h"
class nsITimer;
namespace mozilla {
namespace dom {
@ -19,6 +28,9 @@ class LSSnapshotInitInfo;
class LSWriteAndNotifyInfo;
class SnapshotWriteOptimizer;
template <typename> class Optional;
class LSSnapshot final : public nsIRunnable {
public:
/**

View File

@ -8,9 +8,14 @@
#define mozilla_dom_localstorage_LSValue_h
#include "SnappyUtils.h"
#include "nsString.h"
class mozIStorageStatement;
namespace IPC {
template <typename> struct ParamTraits;
}
namespace mozilla {
namespace dom {

View File

@ -8,6 +8,7 @@
#define mozilla_dom_localstorage_LSWriteOptimizer_h
#include "mozilla/CheckedInt.h"
#include "nsClassHashtable.h"
namespace mozilla {
namespace dom {

View File

@ -7,6 +7,8 @@
#ifndef mozilla_dom_localstorage_SnappyUtils_h
#define mozilla_dom_localstorage_SnappyUtils_h
#include "nsStringFwd.h"
namespace mozilla {
namespace dom {