Bug 1256428 P9 Remove now unused code from ServiceWorkerManager.cpp. r=jdm

This commit is contained in:
Ben Kelly 2016-04-06 13:27:22 -07:00
Родитель 5d6c3c72d1
Коммит 1bafe887a8
2 изменённых файлов: 29 добавлений и 1155 удалений

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -47,8 +47,6 @@ namespace workers {
class ServiceWorker;
class ServiceWorkerClientInfo;
class ServiceWorkerInfo;
class ServiceWorkerJob;
class ServiceWorkerJobQueue;
class ServiceWorkerJobQueue2;
class ServiceWorkerManagerChild;
class ServiceWorkerPrivate;
@ -328,14 +326,8 @@ class ServiceWorkerManager final
friend class GetReadyPromiseRunnable;
friend class GetRegistrationsRunnable;
friend class GetRegistrationRunnable;
friend class ServiceWorkerJobQueue;
friend class ServiceWorkerInstallJob;
friend class ServiceWorkerRegisterJob;
friend class ServiceWorkerJob2;
friend class ServiceWorkerJobBase;
friend class ServiceWorkerScriptJobBase;
friend class ServiceWorkerRegistrationInfo;
friend class ServiceWorkerUnregisterJob;
friend class ServiceWorkerUnregisterJob2;
friend class ServiceWorkerUpdateJob2;
friend class UpdateTimerCallback;
@ -631,9 +623,6 @@ private:
};
void AppendPendingOperation(nsIRunnable* aRunnable);
// TODO: remove this
void AppendPendingOperation(ServiceWorkerJobQueue* aQueue,
ServiceWorkerJob* aJob);
bool HasBackgroundActor() const
{
@ -651,8 +640,7 @@ private:
RefPtr<ServiceWorkerManagerChild> mActor;
struct PendingOperation;
nsTArray<PendingOperation> mPendingOperations;
nsTArray<nsCOMPtr<nsIRunnable>> mPendingOperations;
bool mShuttingDown;