"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "storage/mozStorageService.h" between
UXP-RELBASE_20210427.tar.gz and UXP-RELBASE_20210608.tar.gz

About: Basilisk is a full-featured, optimized browser derived from the code behind the pre-Servo Firefox browser (29–56 era). UXP = Unified XUL Platform. Source code.

mozStorageService.h  (UXP-RELBASE_20210427):mozStorageService.h  (UXP-RELBASE_20210608)
skipping to change at line 22 skipping to change at line 22
#include "nsIFile.h" #include "nsIFile.h"
#include "nsIMemoryReporter.h" #include "nsIMemoryReporter.h"
#include "nsIObserver.h" #include "nsIObserver.h"
#include "nsTArray.h" #include "nsTArray.h"
#include "mozilla/Mutex.h" #include "mozilla/Mutex.h"
#include "mozIStorageService.h" #include "mozIStorageService.h"
class nsIMemoryReporter; class nsIMemoryReporter;
class nsIXPConnect; class nsIXPConnect;
struct sqlite3_vfs;
namespace mozilla { namespace mozilla {
namespace storage { namespace storage {
class Connection; class Connection;
class Service : public mozIStorageService class Service : public mozIStorageService
, public nsIObserver , public nsIObserver
, public nsIMemoryReporter , public nsIMemoryReporter
{ {
public: public:
skipping to change at line 139 skipping to change at line 140
Service(); Service();
virtual ~Service(); virtual ~Service();
/** /**
* Used for 1) locking around calls when initializing connections so that we * Used for 1) locking around calls when initializing connections so that we
* can ensure that the state of sqlite3_enable_shared_cache is sane and 2) * can ensure that the state of sqlite3_enable_shared_cache is sane and 2)
* synchronizing access to mLocaleCollation. * synchronizing access to mLocaleCollation.
*/ */
Mutex mMutex; Mutex mMutex;
sqlite3_vfs *mSqliteVFS;
/** /**
* Protects mConnections. * Protects mConnections.
*/ */
Mutex mRegistrationMutex; Mutex mRegistrationMutex;
/** /**
* The list of connections we have created. Modifications to it are * The list of connections we have created. Modifications to it are
* protected by |mRegistrationMutex|. * protected by |mRegistrationMutex|.
*/ */
nsTArray<RefPtr<Connection> > mConnections; nsTArray<RefPtr<Connection> > mConnections;
 End of changes. 2 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)