Bug 707436 - nsSetSmartSizeEvent can cause a lot of IO on the main thread
This commit is contained in:
3
netwerk/cache/nsCacheService.h
vendored
3
netwerk/cache/nsCacheService.h
vendored
@@ -182,7 +182,7 @@ public:
|
||||
static void OnEnterExitPrivateBrowsing();
|
||||
|
||||
// Starts smart cache size computation if disk device is available
|
||||
static nsresult SetDiskSmartSize();
|
||||
static nsresult SetDiskSmartSize(bool checkPref);
|
||||
|
||||
nsresult Init();
|
||||
void Shutdown();
|
||||
@@ -196,6 +196,7 @@ private:
|
||||
friend class nsProcessRequestEvent;
|
||||
friend class nsSetSmartSizeEvent;
|
||||
friend class nsBlockOnCacheThreadEvent;
|
||||
friend class nsSetDiskSmartSizeCallback;
|
||||
|
||||
/**
|
||||
* Internal Methods
|
||||
|
||||
Reference in New Issue
Block a user