Fix build issues (hackier than I'd like it to be)

--HG--
extra : rebase_source : 45ec4c69d2a3d0613cc58a4f8c8732264012d1b5
This commit is contained in:
Shawn Wilsher 2010-06-17 15:00:02 -07:00
parent de6d1fa868
commit c980f412ab
3 changed files with 10 additions and 7 deletions

View File

@ -43,6 +43,8 @@
// Only meant to be included in IndexedDB source files, not exported.
#include "IndexedDatabase.h"
#include "IDBObjectStoreRequest.h"
BEGIN_INDEXEDDB_NAMESPACE
struct DatabaseInfo
@ -103,6 +105,12 @@ struct ObjectStoreInfo
const nsAString& aName);
};
struct IndexUpdateInfo
{
IndexInfo info;
Key value;
};
END_INDEXEDDB_NAMESPACE
#endif // mozilla_dom_indexeddb_databaseinfo_h__

View File

@ -55,6 +55,7 @@
#include "nsThreadUtils.h"
#include "AsyncConnectionHelper.h"
#include "DatabaseInfo.h"
#include "IDBEvents.h"
#include "IDBIndexRequest.h"
#include "IDBObjectStoreRequest.h"

View File

@ -45,7 +45,6 @@
#include "mozilla/dom/indexedDB/IDBTransactionRequest.h"
#include "nsIIDBObjectStoreRequest.h"
#include "DatabaseInfo.h"
struct JSContext;
@ -53,6 +52,7 @@ BEGIN_INDEXEDDB_NAMESPACE
struct ObjectStoreInfo;
struct IndexInfo;
struct IndexUpdateInfo;
class Key
{
@ -205,12 +205,6 @@ private:
PRInt64 mInt;
};
struct IndexUpdateInfo
{
IndexInfo info;
Key value;
};
class IDBObjectStoreRequest : public IDBRequest::Generator,
public nsIIDBObjectStoreRequest
{