Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
This commit is contained in:
@@ -30,10 +30,11 @@ namespace net {
|
||||
|
||||
class NotifyCacheFileListenerEvent : public Runnable {
|
||||
public:
|
||||
NotifyCacheFileListenerEvent(CacheFileListener *aCallback,
|
||||
NotifyCacheFileListenerEvent(CacheFileListener* aCallback,
|
||||
nsresult aResult,
|
||||
bool aIsNew)
|
||||
: mCallback(aCallback)
|
||||
: Runnable("net::NotifyCacheFileListenerEvent")
|
||||
, mCallback(aCallback)
|
||||
, mRV(aResult)
|
||||
, mIsNew(aIsNew)
|
||||
{
|
||||
@@ -65,11 +66,12 @@ protected:
|
||||
|
||||
class NotifyChunkListenerEvent : public Runnable {
|
||||
public:
|
||||
NotifyChunkListenerEvent(CacheFileChunkListener *aCallback,
|
||||
NotifyChunkListenerEvent(CacheFileChunkListener* aCallback,
|
||||
nsresult aResult,
|
||||
uint32_t aChunkIdx,
|
||||
CacheFileChunk *aChunk)
|
||||
: mCallback(aCallback)
|
||||
CacheFileChunk* aChunk)
|
||||
: Runnable("net::NotifyChunkListenerEvent")
|
||||
, mCallback(aCallback)
|
||||
, mRV(aResult)
|
||||
, mChunkIdx(aChunkIdx)
|
||||
, mChunk(aChunk)
|
||||
|
||||
Reference in New Issue
Block a user