Bug 909003 - Part f: Remove some includes from IDBFactory.h; r=bz
authorMs2ger <ms2ger@gmail.com>
Fri, 06 Sep 2013 08:43:23 +0200
changeset 158677 528bc7fbebb5441dd9e4985a928354919d3640aa
parent 158676 c60685a09dd20a371f8b54d59cb19be76bfe3b00
child 158678 ab5f2982323626fc77caae739c1c1533c7f4d55b
push id2961
push userlsblakk@mozilla.com
push dateMon, 28 Oct 2013 21:59:28 +0000
treeherdermozilla-beta@73ef4f13486f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbz
bugs909003
milestone26.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 909003 - Part f: Remove some includes from IDBFactory.h; r=bz
dom/indexedDB/IDBFactory.cpp
dom/indexedDB/IDBFactory.h
--- a/dom/indexedDB/IDBFactory.cpp
+++ b/dom/indexedDB/IDBFactory.cpp
@@ -1,16 +1,14 @@
 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
 /* vim: set ts=2 et sw=2 tw=80: */
 /* 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/. */
 
-#include "base/basictypes.h"
-
 #include "IDBFactory.h"
 
 #include "nsIFile.h"
 #include "nsIPrincipal.h"
 #include "nsIScriptContext.h"
 #include "nsIXPConnect.h"
 #include "nsIXPCScriptable.h"
 
--- a/dom/indexedDB/IDBFactory.h
+++ b/dom/indexedDB/IDBFactory.h
@@ -2,36 +2,36 @@
 /* vim: set ts=2 et sw=2 tw=80: */
 /* 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 mozilla_dom_indexeddb_idbfactory_h__
 #define mozilla_dom_indexeddb_idbfactory_h__
 
-#include "mozilla/dom/indexedDB/IndexedDatabase.h"
-
-#include "mozIStorageConnection.h"
-
-#include "mozilla/dom/BindingUtils.h"
+#include "mozilla/dom/BindingDeclarations.h" // for Optional
+#include "nsCOMPtr.h"
 #include "nsCycleCollectionParticipant.h"
 #include "nsWrapperCache.h"
 
+class mozIStorageConnection;
 class nsIAtom;
 class nsIFile;
 class nsIFileURL;
+class nsIPrincipal;
 class nsPIDOMWindow;
+template<typename> class nsRefPtr;
 
 namespace mozilla {
+class ErrorResult;
+
 namespace dom {
 class ContentParent;
-}
-}
 
-BEGIN_INDEXEDDB_NAMESPACE
+namespace indexedDB {
 
 struct DatabaseInfo;
 class IDBDatabase;
 class IDBOpenDBRequest;
 class IndexedDBChild;
 class IndexedDBParent;
 
 struct ObjectStoreInfo;
@@ -182,11 +182,13 @@ private:
   IndexedDBChild* mActorChild;
   IndexedDBParent* mActorParent;
 
   mozilla::dom::ContentParent* mContentParent;
 
   bool mRootedOwningObject;
 };
 
-END_INDEXEDDB_NAMESPACE
+} // namespace indexedDB
+} // namespace dom
+} // namespace mozilla
 
 #endif // mozilla_dom_indexeddb_idbfactory_h__