mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 699468: Part 6 - Make some DatabaseInfo stuff private. r=bent
This commit is contained in:
parent
6ecd76ea59
commit
02524a04aa
@ -56,8 +56,15 @@ struct ObjectStoreInfo;
|
|||||||
typedef nsClassHashtable<nsStringHashKey, ObjectStoreInfo>
|
typedef nsClassHashtable<nsStringHashKey, ObjectStoreInfo>
|
||||||
ObjectStoreInfoHash;
|
ObjectStoreInfoHash;
|
||||||
|
|
||||||
|
class IDBDatabase;
|
||||||
|
class OpenDatabaseHelper;
|
||||||
|
|
||||||
struct DatabaseInfo
|
struct DatabaseInfo
|
||||||
{
|
{
|
||||||
|
friend class IDBDatabase;
|
||||||
|
friend class OpenDatabaseHelper;
|
||||||
|
|
||||||
|
private:
|
||||||
DatabaseInfo()
|
DatabaseInfo()
|
||||||
: nextObjectStoreId(1),
|
: nextObjectStoreId(1),
|
||||||
nextIndexId(1),
|
nextIndexId(1),
|
||||||
@ -72,6 +79,7 @@ struct DatabaseInfo
|
|||||||
|
|
||||||
static void Remove(nsIAtom* aId);
|
static void Remove(nsIAtom* aId);
|
||||||
|
|
||||||
|
public:
|
||||||
bool GetObjectStoreNames(nsTArray<nsString>& aNames);
|
bool GetObjectStoreNames(nsTArray<nsString>& aNames);
|
||||||
bool ContainsStoreName(const nsAString& aName);
|
bool ContainsStoreName(const nsAString& aName);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user